当前位置:网站首页>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 .
边栏推荐
- How to modify the file path of Jupiter notebook under miniconda
- HDU1232 畅通工程(并查集)
- (top) pretty girl binary color code portal
- What is deep learning?
- Tshydro tool
- Idea shortcut key
- Pytorch has been installed in anaconda, and pycharm normally runs code, but vs code displays no module named 'torch‘
- 611. 有效三角形的个数
- Cookie operation
- Chapter 2: try to implement a simple bean container
猜你喜欢

2022年PMP项目管理考试敏捷知识点(7)

How to deal with excessive memory occupation of idea and Google browser

Ue5 hot update - remote server automatic download and version detection (simplehotupdate)
![[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

Build your own random wallpaper API for free

The folder directly enters CMD mode, with the same folder location

Word import literature -mendeley

What is deep learning?

Differences between pycharm and idle and process -- join() in vs Code

Using GEE plug-in in QGIS
随机推荐
Simple operation of nixie tube (keil5)
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
Deepin get file (folder) list
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
Typescript get timestamp
[solved] there is something wrong with the image
I implement queue with C I
selenium 元素定位
Unforgettable summary of 2021
目标检测系列——Faster R-CNN原理详解
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
Altimeter data knowledge point 2
String alignment method, self use, synthesis, newrlcjust
Rough notes of C language (1)
Readme, self study record
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
cygwin
Use of Pai platform
Graduation thesis project local deployment practice
Idea push project to code cloud