Diagonal Drawing

Anyone know how to draw diagonally? For example a draw.RoundedBox but I want it going diagonally rather than a straight line.

http://wiki.garrysmod.com/favicon.icosurface.DrawTexturedRectRotated

Do you know how I could do that with a convex draw?