wxwidgets/samples/drawing
Vadim Zeitlin 9e5c8a8027 Respect bitmap content scale factor in wxMSW wxMemoryDC
Apply it manually because MSW doesn't do it automatically for us and
also adjust the font size in wxMemoryDC as the base class version only
does it for the device contexts associated with a window, but we also
need to do it when using a wxMemoryDC for a bitmap using scale factor
different from that of the main display.

As the result of these changes, contents drawn on wxMemoryDC, both
directly via its own methods, or via wxGraphicsContext (using either
GDI+ or Direct2D) created from it, it appears the same as in wxWindowDC
(e.g. wxPaintDC) created for a window using the same scale.

Closes #22130.

Closes #22234.
2022-03-28 01:03:07 +02:00
..
descrip.mms
drawing.bkl Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
drawing.cpp Respect bitmap content scale factor in wxMSW wxMemoryDC 2022-03-28 01:03:07 +02:00
drawing_vc8.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
drawing_vc9.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
image.bmp
makefile.gcc Link with ws2_32.lib rather than obsolete wsock32.lib 2021-04-18 22:13:45 +02:00
Makefile.in Rebake after the year change 2022-01-14 22:51:24 +01:00
makefile.unx Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.vc Use DPI aware manifests for MSVS 2022 too 2021-12-18 13:22:59 +01:00
mask.bmp
pat4.bmp
pat35.bmp
pat36.bmp
smile.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00