当前位置:网站首页>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 .
边栏推荐
- 大学生活的自我总结-大一
- C learning notes
- How to deal with excessive memory occupation of idea and Google browser
- With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table
- Tshydro tool
- Simple use of timeunit
- Eclipse project recompile, clear cache
- 氫氧化鈉是什麼?
- Idea shortcut key
- Anaconda pyhton multi version switching
猜你喜欢
Daily Practice:Codeforces Round #794 (Div. 2)(A~D)
Ue5 hot update - remote server automatic download and version detection (simplehotupdate)
arcgis_ spatialjoin
How to deal with excessive memory occupation of idea and Google browser
玩转gRPC—深入概念与原理
The number of occurrences of numbers in the offer 56 array (XOR)
并查集理论讲解和代码实现
DataGrid offline installation of database driver
[node] NVM version management tool
借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
随机推荐
Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
公安专业知识--哔哩桐老师
Professional knowledge of public security -- teacher bilitong
2022.06.27_ One question per day
Ggplot2 drawing learning notes in R
DataGrid offline installation of database driver
ImportError: No module named ‘Tkinter‘
Close of office 365 reading
Line test -- data analysis -- FB -- teacher Gao Zhao
使用go语言读取txt文件写入excel中
Apple script
第 2 章:小试牛刀,实现一个简单的Bean容器
I can't stand the common annotations of idea anymore
Miracast技术详解(一):Wi-Fi Display
Build your own random wallpaper API for free
Idea push project to code cloud
Word import literature -mendeley
I 用c l 栈与队列的相互实现
Cygwin installation
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no