[Gambas-user] Drawing Areas, painting on them, and printing the results...
Jussi Lahtinen
jussi.lahtinen at ...626...
Tue Sep 2 23:30:38 CEST 2014
FMain contains subs named Example## (where ## are numbers).
These subs are executed in Draw event "DrawingArea1_Draw()", with command
Object.Call(Me, $sFunctionName). So that Example1 is same as "Arc" ,
Example2 is "Arc negative", Example3 is "Clip", etc.
You can write all the content of those subs directly into draw event.
Here are the paint commands:
http://gambaswiki.org/wiki/comp/gb.qt4/paint
And here is more about the drawing area:
http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea
I'm not sure what is the problem exactly, so, give some more information
(code?) on what you are trying to do and how it fails (error messages)?
Jussi
On Tue, Sep 2, 2014 at 11:42 PM, Stephen <sbungay at ...3301...> wrote:
> Has anyone got some good documentation on how to use a Drawing Area,
> quite frankly I've gone cross-eyed trying to make sense of it by parsing
> the paint example.
>
> Steve.
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list