PureBasic - 2DDrawing
Overview
The 2D drawing library contains all the 2D rendering operations that can be performed on a visual area. Drawing a line, a box, a circle or even text is considered a 2D rendering operation.
The output of the drawing functions is possible on a window, a screen, a sprite, an image, a texture or the printer. More informations you will find at StartDrawing().
The drawing process usually starts after calling StartDrawing() and must end with StopDrawing().
Command Index
BackColor
Box
Circle
DrawAlphaImage
DrawImage
DrawText
DrawingBuffer
DrawingBufferPitch
DrawingBufferPixelFormat
DrawingFont
DrawingMode
Ellipse
FillArea
FrontColor
Line
LineXY
Plot
Point
StartDrawing
StopDrawing
TextHeight
TextWidth
Example
2DDrawing.pb
DirectScreenDrawing.pb
Supported OS
All