> Depending on
> how you put your ScaledBitmap on the canvas, it may be tricky to figure
> out which pixels you want.
>
That's ok, but very slow, today is the end of the project but I will  
follow programming this on my own. So I use a double-buffered vectoral  
canvas instead of using a simple buffered-bitmap -_- (like the sketch  
frame demo ?)

> It looks like you want the LineWidth to scale with the whole drawing?
> To do this, you want to make a new DrawOBject, probably derived from
> FloatCanvas.Line, and change its _draw attribute to scale the line
> thickness.
Yesterday I've done something similar to your proposition, adding an  
attribute "taille" (size) to each added line, and calling each element  
of _DrawingList to be drawn with its "taille"*Scale.
This works but quite slow in a frenetic use of the eraser, which  
continue to "erase" after the release of the left button.
(But works perfectly in a calm use)

thanks a lot for all.



_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to