Meta_Font
Module: Metanodes / Definitions
A Font provides text rendering for Buttons and other UI elements that display text.
#include <meta_gui.hpp>
Public Types
| Type | Name | 
|---|---|
| enum | CharacterSet { ANSI, DEFAULT } Types for Idx_CharacterSet.  | 
| enum | IDX { Idx_Typeface, Idx_PointSize, Idx_Bold, Idx_Italic, Idx_CharacterSet } Property index.  | 
Public Attributes
| Type | Name | 
|---|---|
| const int | sm_MaxFontSize | 
Public Types Documentation
enum CharacterSet
| Enumerator | Value | Description | 
|---|---|---|
| ANSI | Use ANSI; English (Symbols - C: "ANSI_Charset", Lua: __Font_ANSI_Charset) | |
| DEFAULT | Use the locale default character set (Symbols - C: "Default_Charset", Lua: __Font_Default_Charset) | 
Types for Idx_CharacterSet.
enum IDX
| Enumerator | Value | Description | 
|---|---|---|
| Idx_Typeface | string - The name of the font (as reported / found by the operating system) | |
| Idx_PointSize | int - The size of the characters | |
| Idx_Bold | bool - Whether the characters should be bold | |
| Idx_Italic | bool - Whether the characters should be italic | |
| Idx_CharacterSet | CharacterSet (int) - (Windows only) Character set to use | 
Property index.
Public Attributes Documentation
sm_MaxFontSize
static const int sm_MaxFontSize = 150;