PureBasic - 2DDrawing

Généralités

La bibliothèque 2DDrawing contient toutes les commandes permettant de dessiner en deux dimensions sur une surface prédéfinie, que ce soit une fenêtre, un écran ou même une imprimante. Vous pourrez ainsi tracer un trait, un rectangle, un cercle, mais aussi écrire du texte.

Les dessins commencent toujours après avoir appelé la fonction StartDrawing() et ils se terminent lorsque StopDrawing() est appelé.

Sommaire des commandes

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
StartDrawing
StopDrawing
TextHeight
TextWidth

Exemple

2DDrawing.pb
2DDrawingAlpha.pb
DirectScreenDrawing.pb

OS Supportés

Tous

Guide de référence - Index