Classes
Class | Description | |
---|---|---|
Font |
Holds the image and data for rendering a smoothly drawn font.
View code on GitHub | |
Font DefaultFontContentNotFound | ||
FontText |
Entity used to render text on screen. Can be aligned horizontally and vertically within a
draw area. Can also contain line breaks.
View code on GitHub | |
FpsDisplay |
Small simple helper class to display the fps on the top middle of the screen for tests
View code on GitHub | |
Glyph |
Used in FontData to store all glyph character data from the font bitmap. For some help see:
http://blogs.msdn.com/garykac/articles/749188.aspx
View code on GitHub | |
TextConverter |
Takes a string of text and returns an array of graphical glyph data for rendering.
View code on GitHub | |
TextParser |
Breaks a string into a list of lines each of which is a list of characters.
Also converts tabs to spaces and converts unsupported characters to question marks.
View code on GitHub | |
TextWrapper |
Wraps a string of text introducing line breaks between words where possible.
View code on GitHub | |
VectorText |
Draws vector style text in 2D space
View code on GitHub | |
VectorText ProcessText | ||
VectorText Render |
Structures
Structure | Description | |
---|---|---|
GlyphDrawData |
Glyph draw info is used by FontData and for rendering glyphs on the screen.
View code on GitHub |
Enumerations
Enumeration | Description | |
---|---|---|
HorizontalAlignment |
How text aligns when rendered on screen: Against the left edge of the draw area,
centered in the middle or against the right edge
View code on GitHub | |
VerticalAlignment |
How text aligns when rendered on screen: Against the top edge of the draw area,
centered in the middle or against the bottom edge
View code on GitHub |