DX11:DIRECTDRAWING


These functions facilitate direct drawing of simple shapes, text and sprites to the screen.
This affords simpler drawing of text without having to create labels, as well as a means of drawing multiple instances of the same sprite without having to
create different copies of it.
All drawing done in this manner will be drawn on top of any 3D as well as normally drawn sprites.
The shapes will be drawn in the order they appear in your code.



DX11 DRAW LINE : DX11 DRAW LINE x1, y1, x2, y2, colour, [colour2], [thickness]

DX11 DRAW RECT : DX11 DRAW RECT x, y, width, height, colour, [colour2], [colour3], [colour4]

DX11 DRAW CIRCLE : DX11 DRAW CIRCLE x, y, diameter, colour, [edgeColour]

DX11 DRAW TEXT : DX11 DRAW TEXT x, y, text, [center], [font]

DX11 SET CURRENT FONT : DX11 SET CURRENT FONT font

DX11 DRAW IMAGE : DX11 DRAW IMAGE x, y, image, [opacity], [width], [height]

DX11 DRAW SPRITE : DX11 DRAW SPRITE x, y, sprite, [useCenter], [width], [height], [angle]