Method | Description | |
---|---|---|
DrawCursor ( float &x, float &y, float size ) : void | ||
DrawFilledRectangle ( float x, float y, float width, float height, Vector4 color ) : void | ||
DrawMaterial ( float x, float y, float width, float height, |
||
DrawRectangle ( float x, float y, float width, float height, float size, Vector4 color ) : void | ||
DrawStretchPicture ( float x, float y, float width, float height, float s, float t, float s2, float t2, |
||
DrawText ( string text, float textScale, TextAlign textAlign, Vector4 color, idRectangle rectDraw, bool wrap, int cursor = -1, bool calcOnly = false, List |
||
FindFont ( string name ) : |
||
GetCharacterWidth ( char c, float scale ) : int | ||
GetTransformInformation ( Vector3 &origin, Matrix &transform ) : void | ||
Init ( ) : void | ||
MaxCharacterHeight ( float scale ) : int | ||
MaxCharacterWidth ( float scale ) : int | ||
PopClipRectangle ( ) : void | ||
PushClipRectangle ( float x, float y, float width, float height ) : void | ||
PushClipRectangle ( idRectangle rect ) : void | ||
SetSize ( float width, float height ) : void | ||
SetTransformInformation ( Vector3 origin, Matrix transform ) : void | ||
idDeviceContext ( ) : System |
Method | Description | |
---|---|---|
AdjustCoordinates ( float &x, float &y, float &width, float &height ) : void | ||
Clear ( ) : void | ||
ClipCoordinates ( float &x, float &y, float &width, float &height ) : bool | ||
ClipCoordinates ( float &x, float &y, float &width, float &height, float &s, float &t, float &s2, float &t2 ) : bool | ||
DrawText ( float x, float y, float scale, Vector4 color, string text, float adjust, int limit, int style, int cursor ) : int | ||
PaintCharacter ( float x, float y, float width, float height, float scale, float s, float t, float s2, float t2, |
||
SetFontByScale ( float scale ) : void | ||
SetupFonts ( ) : void |
public DrawCursor ( float &x, float &y, float size ) : void | ||
x | float | |
y | float | |
size | float | |
return | void |
public DrawFilledRectangle ( float x, float y, float width, float height, Vector4 color ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
color | Vector4 | |
return | void |
public DrawMaterial ( float x, float y, float width, float height, |
||
x | float | |
y | float | |
width | float | |
height | float | |
material | ||
color | Vector4 | |
scaleX | float | |
scaleY | float | |
return | void |
public DrawRectangle ( float x, float y, float width, float height, float size, Vector4 color ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
size | float | |
color | Vector4 | |
return | void |
public DrawStretchPicture ( float x, float y, float width, float height, float s, float t, float s2, float t2, |
||
x | float | |
y | float | |
width | float | |
height | float | |
s | float | |
t | float | |
s2 | float | |
t2 | float | |
material | ||
return | void |
public DrawText ( string text, float textScale, TextAlign textAlign, Vector4 color, idRectangle rectDraw, bool wrap, int cursor = -1, bool calcOnly = false, List |
||
text | string | |
textScale | float | |
textAlign | TextAlign | |
color | Vector4 | |
rectDraw | idRectangle | |
wrap | bool | |
cursor | int | |
calcOnly | bool | |
breaks | List |
|
limit | int | |
return | int |
public FindFont ( string name ) : |
||
name | string | |
return |
public GetCharacterWidth ( char c, float scale ) : int | ||
c | char | |
scale | float | |
return | int |
public GetTransformInformation ( Vector3 &origin, Matrix &transform ) : void | ||
origin | Vector3 | |
transform | Matrix | |
return | void |
public MaxCharacterHeight ( float scale ) : int | ||
scale | float | |
return | int |
public MaxCharacterWidth ( float scale ) : int | ||
scale | float | |
return | int |
public PushClipRectangle ( float x, float y, float width, float height ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
return | void |
public PushClipRectangle ( idRectangle rect ) : void | ||
rect | idRectangle | |
return | void |
public SetSize ( float width, float height ) : void | ||
width | float | |
height | float | |
return | void |
public SetTransformInformation ( Vector3 origin, Matrix transform ) : void | ||
origin | Vector3 | |
transform | Matrix | |
return | void |