November 1998
Intermediate to advanced
1520 pages
37h 53m
English
Now that we’ve nailed down the concept of logical inches and logical twips, it’s time to talk about logical fonts.
A logical font is a GDI object whose handle is stored in a variable of type HFONT. A logical font is a description of a font. Like the logical pen and logical brush, it is an abstract object that becomes real only as it is a selected into a device context when an application calls SelectObject. For logical pens, for instance, you can specify any color you want for the pen, but Windows converts that to a pure color available on the device when you select the pen into the device context. Only then does Windows know about the color capabilities of the device.
You create a logical font ...
Read now
Unlock full access