[Gambas-user] Dinamic lines
tobias
tobiasboe1 at ...20...
Wed Jun 29 22:25:31 CEST 2011
hi,
>> How to draw a line
>> How to draw a text
>> How to do it on a printer
>> How to do it on a canvas
>> How to make lines removable
imho, one should be able to figure some of these things out using the doc.
i never worked with printer, but answers to 1 and 2 are just where
everyone expects them:
http://gambasdoc.org/help/comp/gb.qt4/draw?v3
i don't know what "canvas" is. i'm not a native english speaker and my
dictionary gave me nothing programming related...
i don't think that lines can be made "removable" because you would have
to have an object for them, i think. this would be waste of ram in my
opinion and if you draw with a pencil on a paper, you don't create new
objects that you can remove if you want to, right? :)
you have to use an eraser:
you can implement that by yourself saving source and destination coords
of every line and if requested draw another line over it with your
background's color... just a thought.
regards,
tobi
More information about the User
mailing list