How to get text scaling value in C++?
I am writing a OpenGL application in C++. I recently discovered that UI elements are very small on high-DPI displays. A bit of research indicates that there is a setting for text scaling factor, which scales up UI elements; how can I read this value from C++ to scale my UI?
|
Can you give more details? Which lib do you use for UI? OpenGL version?
|
I think you can find some good tips here: https://www.opengl.org/discussion_bo...ch-GDI-pt-size
|
Quote:
Quote:
|
All times are GMT -5. The time now is 11:02 PM. |