Skip to content

ISurface@

Surface.

Methods

  • void DrawSetColor(int r, int g, int b, int a) --
  • void DrawSetColor(Color col) --
  • void DrawFilledRect(int x0, int y0, int x1, int y1) --
  • void DrawOutlinedRect(int x0, int y0, int x1, int y1) --
  • void DrawLine(int x0, int y0, int x1, int y1) --
  • void DrawSetTextColor(int r, int g, int b, int a) --
  • void DrawSetTextColor(Color col) --
  • void DrawSetTextPos(int x, int y) --
  • void DrawGetTextPos(int&out x, int&out y) --
  • void DrawPrintText(string&in str) --
  • void DrawSetTextFont(vgui::HFont font) --
  • void DrawFilledRectFade(int x0, int y0, int x1, int y1, uint alpha0, uint alpha1, bool bHorizontal) --
  • void GetTextSize(vgui::HFont font, string&in text, int&out wide, int&out tall) --