| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.1 Fl_MathGL class
Class is FLTK widget which display MathGL graphics (defined in #include <mgl/mgl_fltk.h>).
- Method on Fl_MathGL:
voidset_draw (mglDraw *dr) Sets drawing function from a class inherited from
mglDraw.
- Method on Fl_MathGL:
voidupdate (mglGraph *gr=NULL) Update (redraw) plot using grapher gr (built-in by default).
- Method on Fl_MathGL:
voidset_state (boolz,boolr) Set flags for handling mouse: z=
trueallow zooming, r=trueallow rotation/shifting/perspective and so on.
- Method on Fl_MathGL:
voidget_zoom (float *X1,float *Y1,float *X2,float *Y2) Get zoom in/out region
- Method on Fl_MathGL:
voidset_popup (const Fl_Menu_Item *pmenu,Fl_Widget *w,void *v) Set popup menu pointer
- Widget option of Fl_MathGL:
int (*draw_func)(mglGraph *gr, void *par) Drawing function for window procedure. It should return the number of frames.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
