当前位置:网站首页>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 .
边栏推荐
- [MySQL] database knowledge record
- list. files: List the Files in a Directory/Folder
- [solved] there is something wrong with the image
- What does soda ash do?
- Light up the running light, rough notes for beginners (1)
- 数字孪生实际应用案例-风机篇
- Close of office 365 reading
- Web page Chinese display (print, etc.) GBK error, solution, software
- Tshydro tool
- Butterfly theme beautification - Page frosted glass effect
猜你喜欢
Idea common settings
Miracast技术详解(一):Wi-Fi Display
Don't confuse the use difference between series / and / *
Basic series of SHEL script (III) for while loop
Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
Rough notes of C language (2) -- constants
DelayQueue延迟队列的使用和场景
Oracle-触发器和程序包
What is Bezier curve? How to draw third-order Bezier curve with canvas?
Close of office 365 reading
随机推荐
Target detection series - detailed explanation of the principle of fast r-cnn
【idea】Could not autowire. No beans of xxx type found
Eclipse project recompile, clear cache
Shadowless cloud desktop - online computer
I 用c I 实现队列
What is deep learning?
Hdu1232 unimpeded project (and collection)
Basic knowledge of public security -- FB
Use go language to read TXT file and write it into Excel
M2dgr slam data set of multi-source and multi scene ground robot
剑指 Offer 56 数组中数字出现的次数(异或)
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
When jupyter notebook is encountered, erroe appears in the name and is not output after running, but an empty line of code is added downward, and [] is empty
[solved] there is something wrong with the image
HDU1231 最大连续子序列(分治or动规or双指针)
DataGrid offline installation of database driver
Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
Tshydro tool
Apple input method optimization
Clickhouse database installation deployment and remote IP access