Re: How to repaint a canvas?

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 13 Dec 96 08:32:26 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> What is the recommended way to repaint a canvas? Do i have to call the expose
> function or is there another way to do it? The problem i have is like this:
> I have to implement a zoom function. Every time i press a zoom button, the
> canvas has to be redrawn with a new scale factor. What is best way to achieve
> this.

Call

fl_redraw_object( your_canvas );

and your canvas's handler will be called by XForms.

spl
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html