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 or the printer. More information can be found at StartDrawing().
Note: The drawing process starts after calling StartDrawing() and must end with StopDrawing().
Command Index
BackColor
Box
BoxedGradient
Circle
CircularGradient
ConicalGradient
CustomFilterCallback
CustomGradient
DrawAlphaImage
DrawImage
DrawRotatedText
DrawText
DrawingBuffer
DrawingBufferPitch
DrawingBufferPixelFormat
DrawingFont
DrawingMode
Ellipse
EllipticalGradient
FillArea
FrontColor
GrabDrawingImage
GradientColor
Line
LineXY
LinearGradient
OutputDepth
OutputHeight
OutputWidth
Plot
Point
ResetGradientColors
RoundBox
StartDrawing
StopDrawing
TextHeight
TextWidth
Example
2DDrawing.pb
2DDrawingAlpha.pb
DirectScreenDrawing.pb
Supported OS
All