Space Engineers
|
Additional Inherited Members | |
Public Member Functions inherited from VRageRender.MyFont | |
MyFont (string fontFilePath, int spacing=1) | |
Create a new font from the info in the specified font descriptor (XML) file More... | |
Vector2 | MeasureString (StringBuilder text, float scale) |
int | ComputeCharsThatFit (StringBuilder text, float scale, float maxTextWidth) |
Public Attributes inherited from VRageRender.MyFont | |
const char | NEW_LINE = '\n' |
int | Spacing = 0 |
This is artificial spacing in between two characters (in pixels). Using it we can make spaces wider or narrower More... | |
bool | KernEnabled = true |
Enable / disable kerning of adjacent character pairs. More... | |
float | Depth = 0.0f |
The depth at which to draw the font More... | |
Protected Member Functions inherited from VRageRender.MyFont | |
bool | CanWriteOrReplace (ref char c) |
float | ComputeScaledAdvanceWithKern (char c, char cLast, float scale) |
bool | CanUseReplacementCharacter (char c) |
int | CalcKern (char chLeft, char chRight) |
Protected Attributes inherited from VRageRender.MyFont | |
const char | REPLACEMENT_CHARACTER = '\u25A1' |
Replacement character shown when we don't have something in our texture. Normally, this would be , but BMFontGen refuses to generate it, so I put its glyph at (empty square) More... | |
const char | ELLIPSIS = '…' |
readonly Dictionary< int, MyBitmapInfo > | m_bitmapInfoByID = new Dictionary<int, MyBitmapInfo>() |
readonly Dictionary< char, MyGlyphInfo > | m_glyphInfoByChar = new Dictionary<char, MyGlyphInfo>() |
readonly Dictionary< KernPair, sbyte > | m_kernByPair = new Dictionary<KernPair, sbyte>(m_kernPairComparer) |
readonly string | m_fontDirectory |
Properties inherited from VRageRender.MyFont | |
int | Baseline [get] |
Distance from top of font to the baseline More... | |
int | LineHeight [get] |
Distance from top to bottom of the font More... | |
Definition at line 13 of file MyRenderFont.cs.