Hello I was wondering how you convert a font point size to pixels.
thanks
wxFonts
- ABX
- Can't get richer than this
- Posts: 810
- Joined: Mon Sep 06, 2004 1:43 pm
- Location: Poznan, Poland
- Contact:
In case anyone would want to use it, wxWidgets should enable it through constants, see METRIC_CONVERSION_CONSTANT, mm2inches, inches2mm, mm2twips, twips2mm, mm2pt and pt2mm.eco wrote:A point is 1 / 72.27 of an inch ...
ABX
CVS Head, 2.8.X
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2