Paint (gb.qt4)

Esta clase se utiliza para aplicar un dibujo anti-aliased en los siguientes objetos: Antes de iniciar cualquier dibujo se debe llamar al método Paint.Begin pasándole el objeto en donde quieres dibujar.

Luego puedes dibujar lo que quieras siguiendo los siguientes 3 pasos:

Cuando el dibujo este terminado debes llamar al método Paint.End.

La interfaz de esta clase es muy similar con el modelo de dibujo de Cairo.

Esta clase es estática.

Constantes
ExtendPad  
ExtendReflect  
ExtendRepeat  
FillRuleEvenOdd  
FillRuleWinding  
LineCapButt  
LineCapRound  
LineCapSquare  
LineJoinBevel  
LineJoinMiter  
LineJoinRound  
OperatorATop  
OperatorAdd  
OperatorClear  
OperatorDest  
OperatorDestATop  
OperatorDestIn  
OperatorDestOut  
OperatorDestOver  
OperatorIn  
OperatorOut  
OperatorOver  
OperatorSaturate  
OperatorSource  
OperatorXor  

Propiedades estáticas
AntiAlias  
Background  
Brush  
BrushOrigin  
ClipExtents  
ClipRect  
Dash  
DashOffset  
Device  
FillRule  
Font  
FontScale  
H  
Height  
LineCap  
LineDash  
LineDashOffset  
LineJoin  
LineWidth  
Matrix  
MiterLimit  
Operator  
PathExtents  
PathOutline  
ResolutionX  
ResolutionY  
TextHeight  
W  
Width  
X  
Y  

Métodos estáticos
Arc  
Arrow   Add an arrow to the current path.
Begin  
Check   Add a check mark to the current path.
Circle   Paint a circle.
Clip  
ClosePath  
Color  
CurveTo  
DrawImage  
DrawPicture  
DrawRect   Draw a rectangle frame
DrawRichText  
DrawRichTextShadow  
DrawText  
DrawTextShadow  
Ellipse  
End  
Fill  
FillRect  
Image  
LineTo  
LinearGradient  
MoveTo  
NewPath  
PathContains  
Polygon  
RadialGradient  
Rectangle  
RelCurveTo  
RelLineTo  
RelMoveTo  
Reset  
ResetClip  
Restore  
RichText   Agrega el rich text especificado a la ruta actual, utilizando la fuente actual definida por la propiedad Font.
RichTextExtents   Obtiene las extensiones de una cadena de rich text.
RichTextSize  
Rotate  
Save  
Scale  
StretchImage   Stretch and draw an image or part of an image so that it fits a specified rectangle.
Stroke  
Text  
TextExtents   Obtiene las extensiones de una cadena de texto.
TextSize  
Translate  
TrimRichText  
TrimText  
ZoomImage