프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 | ||
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 RenderGlyph ( float x, float y, char c, bool isDropShadow ) : void | ||
x | float | |
y | float | |
c | char | |
isDropShadow | bool | |
리턴 | void |