The user interface of 3ds Max 2010 uses the font returned by GetUIFont().
The "UI font" is anti-aliased when the operating system provides support for it.
If there's a need to draw text with non-antialised fonts, please use the Fixed font related methods.
Functions | |
CoreExport HFONT | GetUIFont () |
Return the standard font used in 3ds Max's user interface. More... | |
CoreExport HFONT | GetUIFont_LocalCharSet () |
Return the standard font used in 3ds Max's user interface, depending on the language and charset. For internal use only. More... | |
CoreExport HFONT | GetUIFontBold () |
Return the standard bold font used in 3ds Max's user interface. More... | |
CoreExport HFONT | GetUIFontBold_LocalCharSet () |
Return the standard bold font used in 3ds Max's user interface, depending on the language and charset. For internal use only. More... | |
CoreExport LONG | GetUIFontHeight () |
Returns the height of standard font which used in 3ds Max's user interface. More... | |
CoreExport LONG | GetUIFontHeightSmall () |
Returns the height of small font which used in 3ds Max's user interface. More... | |
CoreExport DWORD | GetUIFontCharset () |
Returns character set for the current language used in 3ds Max's user interface. More... | |
CoreExport const MCHAR * | GetUIFontFace () |
Returns the font face string for the standard font used in 3ds Max's user interface. More... | |
CoreExport float | GetUIFontPointSize () |
Returns the font point size 8 points for the standard font used in 3ds Max's user interface. More... | |
CoreExport HFONT | CreateCustomizedFont (const MSTR &fontName, int fontSizeUnit, float fontSize, long weight=400, bool isItalic=false, bool isUnderlined=false) |
Return the customized font with the given font name, size and if the font size is point size. More... | |
CoreExport HFONT | GetUIFontSmall () |
Return the standard small font 6 points used in 3ds Max's user interface. More... | |
CoreExport HFONT | GetUIFontLight () |
Return the standard light font used in 3ds Max's user interface, weight = FW_LIGHT(300). More... | |
CoreExport HFONT | GetUIFontItalic () |
Return the standard italic font used in 3ds Max's user interface. More... | |
CoreExport HFONT GetUIFont | ( | ) |
Return the standard font used in 3ds Max's user interface.
CoreExport HFONT GetUIFont_LocalCharSet | ( | ) |
Return the standard font used in 3ds Max's user interface, depending on the language and charset. For internal use only.
CoreExport HFONT GetUIFontBold | ( | ) |
Return the standard bold font used in 3ds Max's user interface.
CoreExport HFONT GetUIFontBold_LocalCharSet | ( | ) |
Return the standard bold font used in 3ds Max's user interface, depending on the language and charset. For internal use only.
CoreExport LONG GetUIFontHeight | ( | ) |
Returns the height of standard font which used in 3ds Max's user interface.
CoreExport LONG GetUIFontHeightSmall | ( | ) |
Returns the height of small font which used in 3ds Max's user interface.
CoreExport DWORD GetUIFontCharset | ( | ) |
Returns character set for the current language used in 3ds Max's user interface.
CoreExport const MCHAR* GetUIFontFace | ( | ) |
Returns the font face string for the standard font used in 3ds Max's user interface.
CoreExport float GetUIFontPointSize | ( | ) |
Returns the font point size 8 points for the standard font used in 3ds Max's user interface.
CoreExport HFONT CreateCustomizedFont | ( | const MSTR & | fontName, |
int | fontSizeUnit, | ||
float | fontSize, | ||
long | weight = 400 , |
||
bool | isItalic = false , |
||
bool | isUnderlined = false |
||
) |
Return the customized font with the given font name, size and if the font size is point size.
[in] | fontName | The font typeface name. |
[in] | fontSizeUnit | Specify if the fontSize is measured by the point size(0), the pixels(1), or the cell height(2). |
[in] | fontSize | The font size, it could be the point size, the pixel size, or the cell height. |
[in] | weight | The font weight. |
[in] | isItalic | Specify if the font is italic. |
[in] | isUnderlined | Specify if the font is underlined. |
CoreExport HFONT GetUIFontSmall | ( | ) |
Return the standard small font 6 points used in 3ds Max's user interface.
CoreExport HFONT GetUIFontLight | ( | ) |
Return the standard light font used in 3ds Max's user interface, weight = FW_LIGHT(300).
CoreExport HFONT GetUIFontItalic | ( | ) |
Return the standard italic font used in 3ds Max's user interface.