Font

Undocumented in source.

Constructors

this
this(HFONT hf, LOGFONTA* plfa, bool owned)
Undocumented in source.
this
this(HFONT hf, LogFont lf, bool owned)
Undocumented in source.
this
this(HFONT hf, bool owned)
Undocumented in source.
this
this(LOGFONTA* plfa, bool owned)
Undocumented in source.
this
this(LogFont lf, bool owned)
Undocumented in source.
this
this(Font font, FontStyle style)
Undocumented in source.
this
this(Dstring name, float emSize, GraphicsUnit unit)
Undocumented in source.
this
this(Dstring name, float emSize, FontStyle style, GraphicsUnit unit)
Undocumented in source.
this
this(Dstring name, float emSize, FontStyle style, GraphicsUnit unit, FontSmoothing smoothing)
Undocumented in source.
this
this(Dstring name, float emSize, FontStyle style, GraphicsUnit unit, ubyte gdiCharSet, FontSmoothing smoothing)
Undocumented in source.
this
this(LogFont lf, float emSize, FontStyle style, GraphicsUnit unit)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

_info
void _info(LOGFONTA* lf)
Undocumented in source. Be warned that the author may not have intended to support it.
_info
void _info(LOGFONTW* lf)
Undocumented in source. Be warned that the author may not have intended to support it.
_info
void _info(LogFont lf)
Undocumented in source. Be warned that the author may not have intended to support it.
getSize
float getSize(GraphicsUnit unit)
Undocumented in source. Be warned that the author may not have intended to support it.
getSize
float getSize(GraphicsUnit unit, Graphics g)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

gdiCharSet
ubyte gdiCharSet [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
handle
HFONT handle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
Dstring name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
float size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
style
FontStyle style [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
unit
GraphicsUnit unit [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

LOGFONTAtoLogFont
void LOGFONTAtoLogFont(LogFont lf, LOGFONTA* plfa)
Undocumented in source. Be warned that the author may not have intended to support it.
LOGFONTWtoLogFont
void LOGFONTWtoLogFont(LogFont lf, LOGFONTW* plfw)
Undocumented in source. Be warned that the author may not have intended to support it.
_create
HFONT _create(LogFont lf)
Undocumented in source. Be warned that the author may not have intended to support it.
getEmSize
float getEmSize(HDC hdc, LONG lfHeight, GraphicsUnit toUnit)
Undocumented in source. Be warned that the author may not have intended to support it.
getEmSize
float getEmSize(LONG lfHeight, GraphicsUnit toUnit)
Undocumented in source. Be warned that the author may not have intended to support it.
getLfHeight
LONG getLfHeight(float emSize, GraphicsUnit unit)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta