So here is something strange.
After seeing the update I noticed the additions Garry has added to derma and draw events and etc. One of them really got my attention, the draw.RoundedBoxEx.
Basically, what you can do with it is drawing a rounded box and defining which sides and to round and what not. Like seen on the Wiki
Round Top Left,
Round Top Right,
Round Bottom Left,
Round Bottom Right )
Description: Draws a square with the bottom right and left rounded.
Code: [lua]function GAMEMODE:HUDPaint()
draw.RoundedBoxEx( 20, 40, 40, 50, 50, Color(255,255,255,255), false, false, true, true )
But I ran into some troubles while using it. So I made a screenshot of the tests I made with it, and came up with some drawing errors. I don’t know if it is intended but this is what it gave;
Small legend to show what in the picture means what, and the settings I used on the boolean part.
[li]t for True[/li][li]f for False[/li][/ul]
So thats about it. If it was intended to do so, then maybe it should be upgraded or revised. If it isn’t supposed to do this then maybe fixing it could help cause I think this function has great potential when drawing stuff.