当前位置:网站首页>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 .
边栏推荐
- Rough notes of C language (1)
- Readme, self study record
- What is Bezier curve? How to draw third-order Bezier curve with canvas?
- [neo4j] common operations of neo4j cypher and py2neo
- CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
- Today, share the wonderful and beautiful theme of idea + website address
- [untitled]
- Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
- Oracle-触发器和程序包
- Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
猜你喜欢

The mutual realization of C L stack and queue in I
![[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

Microservice registry Nacos introduction

CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)

玩转gRPC—深入概念与原理

M2dgr slam data set of multi-source and multi scene ground robot

What if the DataGrid cannot see the table after connecting to the database

Daily Practice:Codeforces Round #794 (Div. 2)(A~D)

Butterfly theme beautification - Page frosted glass effect

Pytorch has been installed in anaconda, and pycharm normally runs code, but vs code displays no module named 'torch‘
随机推荐
Basic operation of external interrupt (keil5)
arcgis_ spatialjoin
Exit of pyGame, idle and pycharm
Light up the running light, rough notes for beginners (1)
Explanation of parallel search set theory and code implementation
611. Number of effective triangles
Install deeptools in CONDA mode
Process (P) runs, and idle is different from pycharm
Reading literature sorting 20220104
Tshydro tool
Idea common settings
GBK error in web page Chinese display (print, etc.), solution
How to modify the file path of Jupiter notebook under miniconda
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
Charles- unable to grab bags and surf the Internet
I 用c l 栈与队列的相互实现
[vscode] recommended plug-ins
Detour of Tkinter picture scaling
What is Bezier curve? How to draw third-order Bezier curve with canvas?
Differences between pycharm and idle and process -- join() in vs Code