XForms: Draw

Dick Middleton (dick@sqf.hp.com)
Wed, 23 Dec 1998 09:15:15 GMT

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

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

> > Which Function can I use to plot graphics on a canvas for example? Can I draw into the canvas right?
> > I wanto to plot graphics results on the window.

> Why not use the XYPlot object?

> If you want to draw graphics on the Canvas, you're on your own.
> You'll need to either use the Xlib drawing functions or some external
> API.

I've been successful using the fl_draw routines drawing onto canvases. You
have to make sure you draw into the right window.

Dick

-------------------------------------------------------------------------------

Dick Middleton
Phone: +44 131-331 7530
Fax: +44 131-331 7443 ( )
email: dickm@cheerful.com ( )
( )
( ) . ~ ~ ~ ~~ .
( ) _______
( ) |
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/