Property | Type | Description | |
---|---|---|---|
VertexBuffers | QVertexBuffer[] |
Method | Description | |
---|---|---|
Begin ( ) : void | ||
CreateTextureFontFiles ( |
||
CreateTextureFontFiles ( |
||
CreateTextureFontFiles ( string fileName, float size, FontStyle style, |
||
CreateTextureFontFiles ( string fileName, float size, FontStyle style, string newFontName ) : void | ||
CreateTextureFontFiles ( string fileName, float size, |
||
CreateTextureFontFiles ( string fileName, float size, string newFontName ) : void | ||
DrawVBOs ( ) : void | ||
End ( ) : void | ||
FromQFontFile ( string filePath ) : |
||
FromQFontFile ( string filePath, |
||
FromQFontFile ( string filePath, float downSampleFactor ) : |
||
FromQFontFile ( string filePath, float downSampleFactor, |
||
LoadVBOs ( ) : void | ||
Measure ( |
Measures the actual width and height of the block of text
|
|
Measure ( string text, QFontAlignment alignment = QFontAlignment.Left ) : |
||
Measure ( string text, |
Measures the actual width and height of the block of text.
|
|
PopOptions ( ) : void | ||
Print ( |
Prints text as previously processed with a boundary and alignment.
|
|
Print ( |
||
Print ( string text, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
Print ( string text, |
Prints text inside the given bounds.
|
|
Print ( string text, |
||
Print ( string text, System.Vector2 position, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
PrintToVBO ( string text, QFontAlignment alignment, Vector3 position, Color color, |
||
PrintToVBO ( string text, Vector3 position, Color color, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
ProcessText ( string text, |
Creates node list object associated with the text.
|
|
PushOptions ( ) : void |
Creates a clone of the current font options and pushes it onto the stack
|
|
PushOptions ( |
Pushes the specified QFont options onto the options stack
|
|
QFont ( |
||
QFont ( |
||
QFont ( string fileName, float size ) : System | ||
QFont ( string fileName, float size, FontStyle style ) : System | ||
QFont ( string fileName, float size, FontStyle style, |
||
QFont ( string fileName, float size, |
||
RefreshViewport ( ) : void |
Invalidates the internally cached viewport, causing it to be reread the next time it is required. This should be called if the viewport and text is to be rendered to the new viewport.
|
|
RenderGlyph ( float x, float y, char c, bool isDropShadow ) : void | ||
ResetVBOs ( ) : void |
Method | Description | |
---|---|---|
BuildFont ( |
||
CrumbledWord ( |
||
InitVBOs ( ) : void | ||
JustifyLine ( |
Computes the length of the next line, and whether the line is valid for justification.
|
|
LockToPixel ( System.Vector2 input ) : System.Vector2 | ||
MeasureNextlineLength ( string text ) : float | ||
OrthogonalTransform ( float &fontScale ) : |
When TransformToOrthogProjection is enabled, we need to get the current orthogonal transformation, the font scale, and ensure that the projection is actually orthogonal
|
|
PrintOrMeasure ( |
||
PrintOrMeasure ( string text, QFontAlignment alignment, bool measureOnly ) : |
||
QFont ( ) : System | ||
QFont ( |
||
RenderDropShadow ( float x, float y, char c, |
||
RenderWord ( float x, float y, TextNode node ) : void | ||
SkipTrailingSpace ( TextNode node, float lengthSoFar, float boundWidth ) : bool |
Checks whether to skip trailing space on line because the next word does not fit. We only check one space - the assumption is that if there is more than one, it is a deliberate attempt to insert spaces.
|
|
TextNodeLineLength ( TextNode node, float maxLength ) : float |
Computes the length of the next line, and whether the line is valid for justification.
|
|
TransformMeasureFromViewport ( SizeF input ) : SizeF | ||
TransformPositionToViewport ( Vector2 input ) : Vector2 | ||
TransformWidthToViewport ( float input ) : float |
public static CreateTextureFontFiles ( |
||
font | ||
newFontName | string | |
return | void |
public static CreateTextureFontFiles ( |
||
font | ||
newFontName | string | |
config | ||
return | void |
public static CreateTextureFontFiles ( string fileName, float size, FontStyle style, |
||
fileName | string | |
size | float | |
style | FontStyle | |
config | ||
newFontName | string | |
return | void |
public static CreateTextureFontFiles ( string fileName, float size, FontStyle style, string newFontName ) : void | ||
fileName | string | |
size | float | |
style | FontStyle | |
newFontName | string | |
return | void |
public static CreateTextureFontFiles ( string fileName, float size, |
||
fileName | string | |
size | float | |
config | ||
newFontName | string | |
return | void |
public static CreateTextureFontFiles ( string fileName, float size, string newFontName ) : void | ||
fileName | string | |
size | float | |
newFontName | string | |
return | void |
public static FromQFontFile ( string filePath ) : |
||
filePath | string | |
return |
public static FromQFontFile ( string filePath, |
||
filePath | string | |
loaderConfig | ||
return |
public static FromQFontFile ( string filePath, float downSampleFactor ) : |
||
filePath | string | |
downSampleFactor | float | |
return |
public static FromQFontFile ( string filePath, float downSampleFactor, |
||
filePath | string | |
downSampleFactor | float | |
loaderConfig | ||
return |
public Measure ( |
||
processedText | ||
return |
public Measure ( string text, QFontAlignment alignment = QFontAlignment.Left ) : |
||
text | string | |
alignment | QFontAlignment | |
return |
public Measure ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
return |
public Print ( |
||
processedText | ||
return | void |
public Print ( |
||
processedText | ||
position | System.Vector2 | |
return | void |
public Print ( string text, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
alignment | QFontAlignment | |
return | void |
public Print ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
return | void |
public Print ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
position | System.Vector2 | |
return | void |
public Print ( string text, System.Vector2 position, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
position | System.Vector2 | |
alignment | QFontAlignment | |
return | void |
public PrintToVBO ( string text, QFontAlignment alignment, Vector3 position, Color color, |
||
text | string | |
alignment | QFontAlignment | |
position | Vector3 | |
color | Color | |
maxSize | ||
return | void |
public PrintToVBO ( string text, Vector3 position, Color color, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
position | Vector3 | |
color | Color | |
alignment | QFontAlignment | |
return | void |
public ProcessText ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
return |
public PushOptions ( |
||
newOptions | ||
return | void |
public QFont ( |
||
font | ||
config | ||
return | System |
public QFont ( string fileName, float size ) : System | ||
fileName | string | |
size | float | |
return | System |
public QFont ( string fileName, float size, FontStyle style ) : System | ||
fileName | string | |
size | float | |
style | FontStyle | |
return | System |
public QFont ( string fileName, float size, FontStyle style, |
||
fileName | string | |
size | float | |
style | FontStyle | |
config | ||
return | System |
public QFont ( string fileName, float size, |
||
fileName | string | |
size | float | |
config | ||
return | System |
public RenderGlyph ( float x, float y, char c, bool isDropShadow ) : void | ||
x | float | |
y | float | |
c | char | |
isDropShadow | bool | |
return | void |