Как рисовать некоторые фигуры


DrawingArea.png
' Gambas class file


PUBLIC SUB _new()

'this clears the DrawingArea
da.Clear()

'all the drawing activities have to be
'capseld by
'Draw.Begin()
'and
'Draw.End
'da's proberty cached must be true!
Draw.Begin(da)
Draw.Rect(5, 5, 8, 9)
Draw.Ellipse(50, 50, 100, 100, 0, 50)
Draw.End
END

См. http://www.binara.com/gambas-wiki/bin/view/Gambas/HowDoIDraw

-- ReinerHoffmann - 22 Dec 2004