Functions

Fixed font related methods

3ds Max uses fixed, non-anti-aliased fonts only when this is strictly required. More...

Functions

CoreExport HFONT  GetFixedFont ()
  Return the fixed font used by 3ds Max.
CoreExport HFONT  GetFixedFont_LocalCharSet ()
  Return the fixed font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.
CoreExport HFONT  GetFixedFontBold ()
  Return the fixed bold font used by 3ds Max.
CoreExport HFONT  GetFixedFontBold_LocalCharSet ()
  Return the fixed bold font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.
CoreExport LONG  GetFixedFontHeight ()
  Returns the height of the fixed font used by 3ds Max.
CoreExport LONG  GetFixedFontHeightSmall ()
  Returns the height of the small fixed font used by 3ds Max.
CoreExport DWORD  GetFixedFontCharset ()
  Returns the fixed font character set for the language currently used by 3ds Max.
CoreExport char *  GetFixedFontFace ()
  Returns the font face string for the fixed font used by 3ds Max.

Detailed Description

3ds Max uses fixed, non-anti-aliased fonts only when this is strictly required.

For example, its easier to ignore text written on top of a rendered image if the text has hard edges and it's displayed in a solid color. Thus, such text could be written with the font returned by the GetFixedFont() function.

In general, text displayed in user interfaces should use the font returned by GetUIFont(). Plug-ins should in general use the User Interface (UI) font related methods when displying text in traditional window based user interfaces.


Function Documentation

CoreExport HFONT GetFixedFont ( )

Return the fixed font used by 3ds Max.

Returns:
HFONT object representing the font
CoreExport HFONT GetFixedFont_LocalCharSet ( )

Return the fixed font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.

Returns:
HFONT object representing the font
CoreExport HFONT GetFixedFontBold ( )

Return the fixed bold font used by 3ds Max.

Returns:
HFONT object representing the font
CoreExport HFONT GetFixedFontBold_LocalCharSet ( )

Return the fixed bold font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.

Returns:
HFONT object representing the font
CoreExport LONG GetFixedFontHeight ( )

Returns the height of the fixed font used by 3ds Max.

Returns:
Font height (14 for English & European languages, 12 for Asian languages)
CoreExport LONG GetFixedFontHeightSmall ( )

Returns the height of the small fixed font used by 3ds Max.

Returns:
Font height (8 for English & European languages, 9 for Asian languages)
CoreExport DWORD GetFixedFontCharset ( )

Returns the fixed font character set for the language currently used by 3ds Max.

Returns:
character set for the current language
CoreExport char* GetFixedFontFace ( )

Returns the font face string for the fixed font used by 3ds Max.

Returns:
Font face string for the fixed font.