GWEN.CreateTextureCentered
Example
Draws a box in the top left corner of the screen using current skins texture.
local paintBox = GWEN.CreateTextureCentered( 384, 32, 32, 32 )
hook.Add( "HUDPaint", "PaintStuff", function()
paintBox( 0, 0, 100, 100 )
end )
Output: If using default skin, it will be 32x32 transparent blue box centered inside the 100x100 box.