Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DrawString() [2/6]

static void ReLogic.Graphics.DynamicSpriteFontExtensionMethods.DrawString ( this SpriteBatch spriteBatch,
DynamicSpriteFont spriteFont,
string text,
Vector2 position,
Color color,
float rotation,
Vector2 origin,
float scale,
SpriteEffects effects,
float layerDepth )
inlinestatic

Definition at line 31 of file DynamicSpriteFontExtensionMethods.cs.

32 {
33 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
34 //IL_001d: Unknown result type (might be due to invalid IL or missing references)
35 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
36 //IL_0022: Unknown result type (might be due to invalid IL or missing references)
37 //IL_0026: Unknown result type (might be due to invalid IL or missing references)
38 Vector2 scale2 = default(Vector2);
39 scale2.X = scale;
40 scale2.Y = scale;
41 spriteFont.InternalDraw(text, spriteBatch, position, color, rotation, origin, ref scale2, effects, layerDepth);
42 }

References ReLogic.Graphics.DynamicSpriteFont.InternalDraw().