terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Draw()

static void GUIStretched.Draw ( Stretched_Layout layout,
[Optional] Rectangle? region,
[Optional] Color? overloadedColour )
inlinestatic

Definition at line 10 of file GUIStretched.cs.

11 {
12 float size = layout.Size;
14 Vector2 location = layout.Location;
15 float x = layout.Location.X;
16 float y = layout.Location.Y;
17 if (!true)
18 {
19 }
20 if (layout.Vertical)
21 {
22 return;
23 }
24 Texture2D texture = layout.Backing.Texture;
25 int width = texture.Width;
26 int height = texture.Height;
27 float scale = layout.Scale;
28 }
class f__AnonymousType0<< Count > j__TPar

References Microsoft.Xna.Framework.Graphics.Texture2D.Height, j__TPar, and Microsoft.Xna.Framework.Graphics.Texture2D.Width.