Font

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)
this(Dstring name, float emSize, GraphicsUnit unit)
this(Dstring name, float emSize, FontStyle style, GraphicsUnit unit)
this(Dstring name, float emSize, FontStyle style, GraphicsUnit unit, FontSmoothing smoothing)
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)
float getSize(GraphicsUnit unit, Graphics g)

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]
name
Dstring name [@property getter]
size
float size [@property getter]
style
FontStyle style [@property getter]
unit
GraphicsUnit unit [@property getter]

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