当前位置:网站首页>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 .
边栏推荐
- Detailed explanation of miracast Technology (I): Wi Fi display
- Simple operation with independent keys (hey, a little fancy) (keil5)
- What does soda ash do?
- deepin 20 kivy unable to get a window, abort
- Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
- Apple system shortcut key usage
- Basic series of SHEL script (III) for while loop
- The problem of configuring opencv in qt5.13.2 is solved in detail
- What is Bezier curve? How to draw third-order Bezier curve with canvas?
- What if the DataGrid cannot see the table after connecting to the database
猜你喜欢
Matrix and TMB package version issues in R
CADD course learning (6) -- obtain the existing virtual compound library (drugbank, zinc)
Rough notes of C language (2) -- constants
Pagoda create multiple sites with one server
剑指 Offer 56 数组中数字出现的次数(异或)
What is Bezier curve? How to draw third-order Bezier curve with canvas?
How to deal with excessive memory occupation of idea and Google browser
并查集理论讲解和代码实现
[vscode] prohibit the pylance plug-in from automatically adding import
Deepin get file (folder) list
随机推荐
Chapter 2: try to implement a simple bean container
R language learning notes 1
HDU1231 最大连续子序列(分治or动规or双指针)
剑指 Offer 56 数组中数字出现的次数(异或)
Basic operation of external interrupt (keil5)
NPM and package common commands
Qu'est - ce que l'hydroxyde de sodium?
Oracle-触发器和程序包
selenium 元素定位
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
[tf1] save and load parameters
Apple system shortcut key usage
Readme, self study record
ModuleNotFoundError: No module named ‘picamera‘
Cygwin installation
Rough notes of C language (2) -- constants
Daily Practice:Codeforces Round #794 (Div. 2)(A~D)
Process (P) runs, and idle is different from pycharm
Basic series of SHEL script (III) for while loop
Apple input method optimization