EMF
1.0
|
Graphics Font. More...
#include <libemf.h>
Public Member Functions | |
FONT (const LOGFONTW *lfont) | |
OBJECTTYPE | getType (void) const |
METARECORD * | newEMR (HDC dc, HGDIOBJ emf_handle) |
Graphics Font.
Fonts are used for drawing text (obviously).
EMF::FONT::FONT | ( | const LOGFONTW * | lfont | ) | [inline] |
lfont | the (logical?) font definition. |
OBJECTTYPE EMF::FONT::getType | ( | void | ) | const [inline, virtual] |
Return the type of this object (could probably do better with RTTI()).
Implements EMF::OBJECT.
METARECORD* EMF::FONT::newEMR | ( | HDC | dc, |
HGDIOBJ | emf_handle | ||
) | [inline, virtual] |
Return a new metarecord for this object. And record its selection into the given device context.
dc | handle of device context into which this object is being selected. |
emf_handle | the EMF handle associated with the FONT. |
Implements EMF::GRAPHICSOBJECT.