Свойство | Тип | Описание | |
---|---|---|---|
VertexBuffers | QVertexBuffer[] |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public static CreateTextureFontFiles ( |
||
font | ||
newFontName | string | |
config | ||
Результат | void |
public static CreateTextureFontFiles ( string fileName, float size, FontStyle style, |
||
fileName | string | |
size | float | |
style | FontStyle | |
config | ||
newFontName | string | |
Результат | void |
public static CreateTextureFontFiles ( string fileName, float size, FontStyle style, string newFontName ) : void | ||
fileName | string | |
size | float | |
style | FontStyle | |
newFontName | string | |
Результат | void |
public static CreateTextureFontFiles ( string fileName, float size, |
||
fileName | string | |
size | float | |
config | ||
newFontName | string | |
Результат | void |
public static CreateTextureFontFiles ( string fileName, float size, string newFontName ) : void | ||
fileName | string | |
size | float | |
newFontName | string | |
Результат | void |
public static FromQFontFile ( string filePath ) : |
||
filePath | string | |
Результат |
public static FromQFontFile ( string filePath, |
||
filePath | string | |
loaderConfig | ||
Результат |
public static FromQFontFile ( string filePath, float downSampleFactor ) : |
||
filePath | string | |
downSampleFactor | float | |
Результат |
public static FromQFontFile ( string filePath, float downSampleFactor, |
||
filePath | string | |
downSampleFactor | float | |
loaderConfig | ||
Результат |
public Measure ( |
||
processedText | ||
Результат |
public Measure ( string text, QFontAlignment alignment = QFontAlignment.Left ) : |
||
text | string | |
alignment | QFontAlignment | |
Результат |
public Measure ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
Результат |
public Print ( |
||
processedText | ||
Результат | void |
public Print ( |
||
processedText | ||
position | System.Vector2 | |
Результат | void |
public Print ( string text, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
alignment | QFontAlignment | |
Результат | void |
public Print ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
Результат | void |
public Print ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
position | System.Vector2 | |
Результат | void |
public Print ( string text, System.Vector2 position, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
position | System.Vector2 | |
alignment | QFontAlignment | |
Результат | void |
public PrintToVBO ( string text, QFontAlignment alignment, Vector3 position, Color color, |
||
text | string | |
alignment | QFontAlignment | |
position | Vector3 | |
color | Color | |
maxSize | ||
Результат | void |
public PrintToVBO ( string text, Vector3 position, Color color, QFontAlignment alignment = QFontAlignment.Left ) : void | ||
text | string | |
position | Vector3 | |
color | Color | |
alignment | QFontAlignment | |
Результат | void |
public ProcessText ( string text, |
||
text | string | |
maxSize | ||
alignment | QFontAlignment | |
Результат |
public PushOptions ( |
||
newOptions | ||
Результат | void |
public QFont ( |
||
font | ||
Результат | System |
public QFont ( |
||
font | ||
config | ||
Результат | System |
public QFont ( string fileName, float size ) : System | ||
fileName | string | |
size | float | |
Результат | System |
public QFont ( string fileName, float size, FontStyle style ) : System | ||
fileName | string | |
size | float | |
style | FontStyle | |
Результат | System |
public QFont ( string fileName, float size, FontStyle style, |
||
fileName | string | |
size | float | |
style | FontStyle | |
config | ||
Результат | System |
public QFont ( string fileName, float size, |
||
fileName | string | |
size | float | |
config | ||
Результат | System |
public static RefreshViewport ( ) : void | ||
Результат | void |
public RenderGlyph ( float x, float y, char c, bool isDropShadow ) : void | ||
x | float | |
y | float | |
c | char | |
isDropShadow | bool | |
Результат | void |