当前位置:网站首页>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 .
边栏推荐
- Deepin, help ('command ') output saved to file
- arcgis_ spatialjoin
- 2022.06.27_ One question per day
- Basic operation of external interrupt (keil5)
- Apple system shortcut key usage
- Mouse click fireworks explosion effect
- 【idea】Could not autowire. No beans of xxx type found
- CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
- [tf1] save and load parameters
- 借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
猜你喜欢
第 2 章:小试牛刀,实现一个简单的Bean容器
Clickhouse database installation deployment and remote IP access
Microservice registry Nacos introduction
Differences between pycharm and idle and process -- join() in vs Code
What is deep learning?
并查集理论讲解和代码实现
CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
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
The folder directly enters CMD mode, with the same folder location
借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
随机推荐
[node] differences among NPM, yarn and pnpm
The folder directly enters CMD mode, with the same folder location
公安基础知识--fb
2022 PMP project management examination agile knowledge points (7)
[neo4j] common operations of neo4j cypher and py2neo
Using GEE plug-in in QGIS
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
Course learning accumulation ppt
ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
Self summary of college life - freshman
Process (P) runs, and idle is different from pycharm
[framework] multi learner
Cygwin installation
Differences between pycharm and idle and process -- join() in vs Code
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
What does soda ash do?
arcpy. SpatialJoin_ Analysis spatial connection analysis
QT small case "addition calculator"
CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
[vscode] search using regular expressions