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
Alpha
AlphaBlend
BackColor
Blue
Box
BoxedGradient
Circle
CircularGradient
ClipOutput
ConicalGradient
CustomFilterCallback
CustomGradient
DrawAlphaImage
DrawImage
DrawRotatedText
DrawText
DrawingBuffer
DrawingBufferPitch
DrawingBufferPixelFormat
DrawingFont
DrawingMode
Ellipse
EllipticalGradient
FillArea
FrontColor
GetOriginX
GetOriginY
GrabDrawingImage
GradientColor
Green
Line
LineXY
LinearGradient
OutputDepth
OutputHeight
OutputWidth
Plot
Point
RGB
RGBA
Red
ResetGradientColors
RoundBox
SetOrigin
StartDrawing
StopDrawing
TextHeight
TextWidth
UnclipOutput
Example
2DDrawing.pb
2DDrawingAlpha.pb
DirectScreenDrawing.pb
Supported OS
All