当前位置:网站首页>P3D gauge size problem
P3D gauge size problem
2022-07-05 07:34:00 【sukhoi27smk】
1. stay panel.cfg in , Every window There can be multiple gauge,window yes gauge The container of
2. stay panel.cfg in ,background_color by window Background color , If set to 0,0,0, Not by gauge Covered
Some will be transparent
3. stay panel.cfg in ,size_mm and gaugeXX Of W,H yes window and gauge Proportion of , Not the real size ,
If size_mm == W,H, that gauge Will be full window, otherwise , Will use background_color fill
4. about MAKE_STATIC Class gauge,gauge Runtime ,gauge The actual size of is the background (MAKE_STATIC The first
Two parameters ) Multiply the size of the size by a scale factor , namely pgauge->x_adjust and pgauge->y_adjust, So we
Use GDI To draw gauge Words , The size of the drawing can be drawn according to the size of the background image , Last StretchBlt When , Use
The scale factor is achieved GDI The drawing size of is the same as gauge Size matching

The above first 3 Article implementation window and gauge Same size , The first 4 First let gdi Draw size and gauge The picture is the same size , then
Through the proportional coefficient gdi Draw size and gauge The actual size is consistent .
边栏推荐
- Ugnx12.0 initialization crash, initialization error (-15)
- 氢氧化钠是什么?
- D2L installation
- 玩转gRPC—深入概念与原理
- M2dgr slam data set of multi-source and multi scene ground robot
- repo. conda. An example of COM path error
- Altimeter data knowledge point 2
- Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
- arcgis_ spatialjoin
- Idea common settings
猜你喜欢

CADD course learning (6) -- obtain the existing virtual compound library (drugbank, zinc)

Machine learning Seaborn visualization

HDU1232 畅通工程(并查集)

DelayQueue延迟队列的使用和场景
![[vscode] prohibit the pylance plug-in from automatically adding import](/img/a7/d96c0c4739ff68356c15bafbbb1328.jpg)
[vscode] prohibit the pylance plug-in from automatically adding import

Shadowless cloud desktop - online computer
![[idea] efficient plug-in save actions to improve your work efficiency](/img/6e/49037333964865d9900ddf5698f7e6.jpg)
[idea] efficient plug-in save actions to improve your work efficiency

CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
![[neo4j] common operations of neo4j cypher and py2neo](/img/ff/8576d5784fcfa474eb1c0acd8a8065.jpg)
[neo4j] common operations of neo4j cypher and py2neo

DataGrid offline installation of database driver
随机推荐
Unforgettable summary of 2021
Basic operation of external interrupt (keil5)
Install deeptools in CONDA mode
Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
[framework] multi learner
The folder directly enters CMD mode, with the same folder location
Professional knowledge of public security -- teacher bilitong
Apple modify system shortcut key
Line test -- data analysis -- FB -- teacher Gao Zhao
611. 有效三角形的个数
[vscode] prohibit the pylance plug-in from automatically adding import
Rough notes of C language (1)
Eclipse project recompile, clear cache
DataGrid offline installation of database driver
The problem of configuring opencv in qt5.13.2 is solved in detail
Thunderbird tutorial \ easy to use mail client
剑指 Offer 56 数组中数字出现的次数(异或)
611. Number of effective triangles
The mutual realization of C L stack and queue in I
Charles- unable to grab bags and surf the Internet