wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.22k stars 1.78k forks source link

fixes scaling in wxDC #4904

Closed wxtrac closed 2 years ago

wxtrac commented 23 years ago

Issue migrated from trac ticket # 4904

component: wxGTK | priority: normal

2001-01-26 23:03:27: dbryson created the issue


Modifies wxDC and wxWindowDC to utilize the wxGetDisplaySize() and wxGetDisplaySizeMM() functions to calculate the screen dpi (ppi) so that scaling for map modes other than wxMM_TEXT work correctly.

Also fixes wxDC:GetPPI() and wxDC::GetSizeMM().

wxtrac commented 23 years ago

2001-01-26 23:03:27: dbryson uploaded file None (1.5 KiB)

None

wxtrac commented 23 years ago

2001-01-31 13:26:27: @vadz commented


applied to the trunk