Home > comp > gb.qt4 > draw 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Draw (gb.qt4)
This class is used for drawing on a Picture, or a DrawingArea object.

Before starting drawing anything, you must call the Begin method by passing it the object where you want to draw.

Then you can call any of the drawing methods to draw points, lines, texts, pictures...

When your drawing is finished, you must call the End method.

You cannot draw on a DrawingArea outside of its Draw event handler, unless its Cached property is set. In that case, the DrawingArea acts like a Picture.

Since 3.4 version

The Draw class is deprecated since Gambas 3.4. It is now emulated through the Paint class.

Symbols
This class is static.

Static properties  Static methods  Constants 
Background  Clip  ClipRect  Device  FillColor  FillStyle  FillX  FillY  Font  Foreground  H  Height  Invert  LineStyle  LineWidth  Style  Transparent  W  Width    Arc  Begin  Circle  Clear  Ellipse  End  FillRect  Image  Line  Picture  Point  Polyline  Polygon  Rect  Reset  Restore  RichText  RichTextHeight  RichTextWidth  Save  Scale  Text  TextHeight  TextWidth  Tile  Translate  Zoom    Disabled  Focus  Hover  Normal