From: <and...@us...> - 2004-02-10 14:49:02
|
Update of /cvsroot/plplot/plplot/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30158/include Modified Files: plstrm.h Log Message: Change plarrows to use an user supplied arrow style via the new API call plsarrow. The default is the old style if none is supplied. Add C++ bindings. Add example x22c to demonstrate the routines. Index: plstrm.h =================================================================== RCS file: /cvsroot/plplot/plplot/include/plstrm.h,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- plstrm.h 31 Jan 2004 19:23:37 -0000 1.29 +++ plstrm.h 10 Feb 2004 14:45:19 -0000 1.30 @@ -112,6 +112,14 @@ * *************************************************************************** * + * Variables governing arrow type + * + * arrow_x x coordinates of points in arrow + * arrow_y y coordinates of points in arrow + * arrow_npts number of points in arrow_x, arrow_y + * + *************************************************************************** + * * Variables used to pass information between the core and the driver * * It would be nice to use the "dev_" prefix uniformly but changing @@ -440,6 +448,11 @@ PLINT width; PLINT widthset, widthlock; +/* Variables governing arrow */ + PLFLT *arrow_x; + PLFLT *arrow_y; + PLINT arrow_npts; + /* Driver dispatch table, obsoletes "device" member below. */ PLDispatchTable *dispatch_table; |