From: <ai...@us...> - 2008-10-14 01:41:18
|
Revision: 8891 http://plplot.svn.sourceforge.net/plplot/?rev=8891&view=rev Author: airwin Date: 2008-10-14 01:41:12 +0000 (Tue, 14 Oct 2008) Log Message: ----------- Sort out visibility issues associated with libplplotgnome2. Modified Paths: -------------- trunk/bindings/gnome2/lib/CMakeLists.txt trunk/include/drivers.h trunk/include/gcw.h trunk/include/pldll.h trunk/include/plplotP.h trunk/include/plplotcanvas.h trunk/include/plstrm.h Modified: trunk/bindings/gnome2/lib/CMakeLists.txt =================================================================== --- trunk/bindings/gnome2/lib/CMakeLists.txt 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/bindings/gnome2/lib/CMakeLists.txt 2008-10-14 01:41:12 UTC (rev 8891) @@ -25,9 +25,21 @@ gcw-lib.c ) +if(BUILD_SHARED_LIBS) + SET_SOURCE_FILES_PROPERTIES( + ${plplotgnome2${LIB_TAG}_LIB_SRCS} + PROPERTIES COMPILE_FLAGS "-DUSINGDLL" + ) +endif(BUILD_SHARED_LIBS) + +get_source_file_property(PLGNOME2_COMPILE_PROPS plplotcanvas.c COMPILE_FLAGS) +# Deal with NOTFOUND case. +if(NOT PLGNOME2_COMPILE_PROPS) + set(PLGNOME2_COMPILE_PROPS) +endif(NOT PLGNOME2_COMPILE_PROPS) set_source_files_properties( ${plplotgnome2${LIB_TAG}_LIB_SRCS} -PROPERTIES COMPILE_FLAGS ${gcw_COMPILE_FLAGS} +PROPERTIES COMPILE_FLAGS "${PLGNOME2_COMPILE_PROPS} ${gcw_COMPILE_FLAGS}" ) # Set the include path Modified: trunk/include/drivers.h =================================================================== --- trunk/include/drivers.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/drivers.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -107,8 +107,9 @@ void plbuf_tidy (PLStream *); void plbuf_state (PLStream *, PLINT); void plbuf_esc (PLStream *, PLINT, void *); -void * plbuf_save (PLStream *, void *); -void * plbuf_switch (PLStream *, void *); +PLDLLIMPEXP void * plbuf_save (PLStream *, void *); +PLDLLIMPEXP void * plbuf_switch (PLStream *, void *); +PLDLLIMPEXP void plbuf_restore (PLStream *, void *); PLDLLIMPEXP void plRemakePlot (PLStream *); Modified: trunk/include/gcw.h =================================================================== --- trunk/include/gcw.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/gcw.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -134,11 +134,11 @@ /* Private functions */ void gcw_debug(char* msg); -void gcw_set_gdk_color(); -void gcw_clear_background(); -void gcw_init_canvas(GnomeCanvas* canvas); -void gcw_install_canvas(GnomeCanvas *canvas); -void gcw_set_device_size(PLINT width,PLINT height); +PLDLLIMPEXP_GNOME2 void gcw_set_gdk_color(); +PLDLLIMPEXP_GNOME2 void gcw_clear_background(); +PLDLLIMPEXP_GNOME2 void gcw_init_canvas(GnomeCanvas* canvas); +PLDLLIMPEXP_GNOME2 void gcw_install_canvas(GnomeCanvas *canvas); +PLDLLIMPEXP_GNOME2 void gcw_set_device_size(PLINT width,PLINT height); void gcw_set_canvas_size(GnomeCanvas* canvas,PLINT width,PLINT height); void gcw_set_canvas_zoom(GnomeCanvas* canvas,PLFLT magnification); void gcw_use_persistence(PLINT use_persistence); Modified: trunk/include/pldll.h =================================================================== --- trunk/include/pldll.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/pldll.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -90,6 +90,14 @@ #define PLDLLIMPEXP_TCLTK_DATA(type) PLDLLIMPORT type #endif +#if defined(plplotgnome2d_EXPORTS) + #define PLDLLIMPEXP_GNOME2 PLDLLEXPORT + #define PLDLLIMPEXP_GNOME2_DATA(type) PLDLLEXPORT type +#else + #define PLDLLIMPEXP_GNOME2 PLDLLIMPORT + #define PLDLLIMPEXP_GNOME2_DATA(type) PLDLLIMPORT type +#endif + #if defined(aqt_EXPORTS) || defined(cairo_EXPORTS) || defined(cgm_EXPORTS) || \ defined(dg300_EXPORTS) || defined(gd_EXPORTS) || defined(gcw_EXPORTS) || \ defined(hpgl_EXPORTS) || defined(impress_EXPORTS) || defined(linuxvga_EXPORTS) || \ Modified: trunk/include/plplotP.h =================================================================== --- trunk/include/plplotP.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/plplotP.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -960,7 +960,7 @@ /* Builds a list of the active devices/streams by device name */ void -plP_getinitdriverlist(char *names); +PLDLLIMPEXP plP_getinitdriverlist(char *names); /* Checks a give list of device names against active streams and returns the number of matches */ Modified: trunk/include/plplotcanvas.h =================================================================== --- trunk/include/plplotcanvas.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/plplotcanvas.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -66,16 +66,16 @@ GType plplot_canvas_get_type(); -PlplotCanvas* plplot_canvas_new(); -void plplot_canvas_devinit(PlplotCanvas* self); -void plplot_canvas_dispose(PlplotCanvas *self); +PLDLLIMPEXP_GNOME2 PlplotCanvas* plplot_canvas_new(); +PLDLLIMPEXP_GNOME2 void plplot_canvas_devinit(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_dispose(PlplotCanvas *self); -gint plplot_canvas_get_stream_number(PlplotCanvas* self); -void plplot_canvas_set_size(PlplotCanvas* self,gint width,gint height); -void plplot_canvas_set_zoom(PlplotCanvas* self,gdouble magnification); -void plplot_canvas_use_text(PlplotCanvas* self,gboolean use_text); -void plplot_canvas_use_pixmap(PlplotCanvas* self,gboolean use_pixmap); -void plplot_canvas_use_persistence(PlplotCanvas* self,gboolean use_persistence); +PLDLLIMPEXP_GNOME2 gint plplot_canvas_get_stream_number(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_set_size(PlplotCanvas* self,gint width,gint height); +PLDLLIMPEXP_GNOME2 void plplot_canvas_set_zoom(PlplotCanvas* self,gdouble magnification); +PLDLLIMPEXP_GNOME2 void plplot_canvas_use_text(PlplotCanvas* self,gboolean use_text); +PLDLLIMPEXP_GNOME2 void plplot_canvas_use_pixmap(PlplotCanvas* self,gboolean use_pixmap); +PLDLLIMPEXP_GNOME2 void plplot_canvas_use_persistence(PlplotCanvas* self,gboolean use_persistence); /*--------------------------------------------------------------------------* @@ -88,73 +88,73 @@ /* set the format of the contour labels */ -void plplot_canvas_setcontlabelformat(PlplotCanvas* self, PLINT lexp, PLINT sigdig); +PLDLLIMPEXP_GNOME2 void plplot_canvas_setcontlabelformat(PlplotCanvas* self, PLINT lexp, PLINT sigdig); /* set offset and spacing of contour labels */ -void plplot_canvas_setcontlabelparam(PlplotCanvas* self, PLFLT offset, PLFLT size, PLFLT spacing, PLINT active); +PLDLLIMPEXP_GNOME2 void plplot_canvas_setcontlabelparam(PlplotCanvas* self, PLFLT offset, PLFLT size, PLFLT spacing, PLINT active); /* Advance to subpage "page", or to the next one if "page" = 0. */ -void plplot_canvas_adv(PlplotCanvas* self, PLINT page); +PLDLLIMPEXP_GNOME2 void plplot_canvas_adv(PlplotCanvas* self, PLINT page); /* simple arrow plotter. */ -void plplot_canvas_arrows(PlplotCanvas* self, PLFLT *u, PLFLT *v, PLFLT *x, PLFLT *y, PLINT n, PLFLT scale, PLFLT dx, PLFLT dy); +PLDLLIMPEXP_GNOME2 void plplot_canvas_arrows(PlplotCanvas* self, PLFLT *u, PLFLT *v, PLFLT *x, PLFLT *y, PLINT n, PLFLT scale, PLFLT dx, PLFLT dy); -void plplot_canvas_vect(PlplotCanvas* self, PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_vect(PlplotCanvas* self, PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); -void plplot_canvas_svect(PlplotCanvas* self, PLFLT *arrowx, PLFLT *arrowy, PLINT npts, PLINT fill); +PLDLLIMPEXP_GNOME2 void plplot_canvas_svect(PlplotCanvas* self, PLFLT *arrowx, PLFLT *arrowy, PLINT npts, PLINT fill); /* This functions similarly to plbox() except that the origin of the axes */ /* is placed at the user-specified point (x0, y0). */ -void plplot_canvas_axes(PlplotCanvas* self, PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub); +PLDLLIMPEXP_GNOME2 void plplot_canvas_axes(PlplotCanvas* self, PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub); /* Plot a histogram using x to store data values and y to store frequencies */ -void plplot_canvas_bin(PlplotCanvas* self, PLINT nbin, PLFLT *x, PLFLT *y, PLINT center); +PLDLLIMPEXP_GNOME2 void plplot_canvas_bin(PlplotCanvas* self, PLINT nbin, PLFLT *x, PLFLT *y, PLINT center); /* Start new page. Should only be used with pleop(). */ -void plplot_canvas_bop(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_bop(PlplotCanvas* self); /* This draws a box around the current viewport. */ -void plplot_canvas_box(PlplotCanvas* self, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub); +PLDLLIMPEXP_GNOME2 void plplot_canvas_box(PlplotCanvas* self, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub); /* This is the 3-d analogue of plbox(). */ -void plplot_canvas_box3(PlplotCanvas* self, const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx, const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby, const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz); +PLDLLIMPEXP_GNOME2 void plplot_canvas_box3(PlplotCanvas* self, const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx, const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby, const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz); /* Calculate world coordinates and subpage from relative device coordinates. */ -void plplot_canvas_calc_world(PlplotCanvas* self, PLFLT rx, PLFLT ry, PLFLT *wx, PLFLT *wy, PLINT *window); +PLDLLIMPEXP_GNOME2 void plplot_canvas_calc_world(PlplotCanvas* self, PLFLT rx, PLFLT ry, PLFLT *wx, PLFLT *wy, PLINT *window); /* Clear current subpage. */ -void plplot_canvas_clear(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_clear(PlplotCanvas* self); /* Set color, map 0. Argument is integer between 0 and 15. */ -void plplot_canvas_col0(PlplotCanvas* self, PLINT icol0); +PLDLLIMPEXP_GNOME2 void plplot_canvas_col0(PlplotCanvas* self, PLINT icol0); /* Set color, map 1. Argument is a float between 0. and 1. */ -void plplot_canvas_col1(PlplotCanvas* self, PLFLT col1); +PLDLLIMPEXP_GNOME2 void plplot_canvas_col1(PlplotCanvas* self, PLFLT col1); /* Draws a contour plot from data in f(nx,ny). Is just a front-end to * plfcont, with a particular choice for f2eval and f2eval_data. */ -void plplot_canvas_cont(PlplotCanvas* self, PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_cont(PlplotCanvas* self, PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); /* Draws a contour plot using the function evaluator f2eval and data stored * by way of the f2eval_data pointer. This allows arbitrary organizations * of 2d array data to be used. */ -void plplot_canvas_fcont(PlplotCanvas* self, PLFLT (*f2eval) (PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_fcont(PlplotCanvas* self, PLFLT (*f2eval) (PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); /* /\* Copies state parameters from the reference stream to the current stream. *\/ */ @@ -163,12 +163,12 @@ /* Converts input values from relative device coordinates to relative plot */ /* coordinates. */ -void plplot_canvas_did2pc(PlplotCanvas* self, PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_did2pc(PlplotCanvas* self, PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax); /* Converts input values from relative plot coordinates to relative */ /* device coordinates. */ -void plplot_canvas_dip2dc(PlplotCanvas* self, PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_dip2dc(PlplotCanvas* self, PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax); /* /\* End a plotting session for all open streams. *\/ */ @@ -189,15 +189,15 @@ /* End current page. Should only be used with plbop(). */ -void plplot_canvas_eop(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_eop(PlplotCanvas* self); /* Plot horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i)) */ -void plplot_canvas_errx(PlplotCanvas* self, PLINT n, PLFLT *xmin, PLFLT *xmax, PLFLT *y); +PLDLLIMPEXP_GNOME2 void plplot_canvas_errx(PlplotCanvas* self, PLINT n, PLFLT *xmin, PLFLT *xmax, PLFLT *y); /* Plot vertical error bars (x,ymin(i)) to (x(i),ymax(i)) */ -void plplot_canvas_erry(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *ymin, PLFLT *ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_erry(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *ymin, PLFLT *ymax); /* /\* Advance to the next family file on the next new page *\/ */ @@ -205,11 +205,11 @@ /* Pattern fills the polygon bounded by the input points. */ -void plplot_canvas_fill(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y); +PLDLLIMPEXP_GNOME2 void plplot_canvas_fill(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y); /* Pattern fills the 3d polygon bounded by the input points. */ -void plplot_canvas_fill3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z); +PLDLLIMPEXP_GNOME2 void plplot_canvas_fill3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z); /* /\* Flushes the output stream. Use sparingly, if at all. *\/ */ @@ -217,47 +217,47 @@ /* Sets the global font flag to 'ifont'. */ -void plplot_canvas_font(PlplotCanvas* self, PLINT ifont); +PLDLLIMPEXP_GNOME2 void plplot_canvas_font(PlplotCanvas* self, PLINT ifont); /* Load specified font set. */ -void plplot_canvas_fontld(PlplotCanvas* self, PLINT fnt); +PLDLLIMPEXP_GNOME2 void plplot_canvas_fontld(PlplotCanvas* self, PLINT fnt); /* Get character default height and current (scaled) height */ -void plplot_canvas_gchr(PlplotCanvas* self, PLFLT *p_def, PLFLT *p_ht); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gchr(PlplotCanvas* self, PLFLT *p_def, PLFLT *p_ht); /* Returns 8 bit RGB values for given color from color map 0 */ -void plplot_canvas_gcol0(PlplotCanvas* self, PLINT icol0, PLINT *r, PLINT *g, PLINT *b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gcol0(PlplotCanvas* self, PLINT icol0, PLINT *r, PLINT *g, PLINT *b); /* Returns the background color by 8 bit RGB value */ -void plplot_canvas_gcolbg(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gcolbg(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b); /* Returns the current compression setting */ -void plplot_canvas_gcompression(PlplotCanvas* self, PLINT *compression); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gcompression(PlplotCanvas* self, PLINT *compression); /* Get the current device (keyword) name */ -void plplot_canvas_gdev(PlplotCanvas* self, char *p_dev); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gdev(PlplotCanvas* self, char *p_dev); /* Retrieve current window into device space */ -void plplot_canvas_gdidev(PlplotCanvas* self, PLFLT *p_mar, PLFLT *p_aspect, PLFLT *p_jx, PLFLT *p_jy); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gdidev(PlplotCanvas* self, PLFLT *p_mar, PLFLT *p_aspect, PLFLT *p_jx, PLFLT *p_jy); /* Get plot orientation */ -void plplot_canvas_gdiori(PlplotCanvas* self, PLFLT *p_rot); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gdiori(PlplotCanvas* self, PLFLT *p_rot); /* Retrieve current window into plot space */ -void plplot_canvas_gdiplt(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_ymin, PLFLT *p_xmax, PLFLT *p_ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gdiplt(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_ymin, PLFLT *p_xmax, PLFLT *p_ymax); /* Get FCI (font characterization integer) */ -void plplot_canvas_gfci(PlplotCanvas* self, PLUNICODE *pfci); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gfci(PlplotCanvas* self, PLUNICODE *pfci); /* /\* Get family file parameters *\/ */ @@ -265,15 +265,15 @@ /* Get the (current) output file name. Must be preallocated to >80 bytes */ -void plplot_canvas_gfnam(PlplotCanvas* self, char *fnam); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gfnam(PlplotCanvas* self, char *fnam); /* Get the (current) run level. */ -void plplot_canvas_glevel(PlplotCanvas* self, PLINT *p_level); +PLDLLIMPEXP_GNOME2 void plplot_canvas_glevel(PlplotCanvas* self, PLINT *p_level); /* Get output device parameters. */ -void plplot_canvas_gpage(PlplotCanvas* self, PLFLT *p_xp, PLFLT *p_yp, PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gpage(PlplotCanvas* self, PLFLT *p_xp, PLFLT *p_yp, PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff); /* /\* Switches to graphics screen. *\/ */ @@ -281,11 +281,11 @@ /* grid irregularly sampled data */ -void plplot_canvas_griddata(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT *z, PLINT npts, PLFLT *xg, PLINT nptsx, PLFLT *yg, PLINT nptsy, PLFLT **zg, PLINT type, PLFLT data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_griddata(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT *z, PLINT npts, PLFLT *xg, PLINT nptsx, PLFLT *yg, PLINT nptsy, PLFLT **zg, PLINT type, PLFLT data); /* Get subpage boundaries in absolute coordinates */ -void plplot_canvas_gspa(PlplotCanvas* self, PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gspa(PlplotCanvas* self, PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax); /* /\* Get current stream number. *\/ */ @@ -293,35 +293,35 @@ /* Get the current library version number */ -void plplot_canvas_gver(PlplotCanvas* self, char *p_ver); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gver(PlplotCanvas* self, char *p_ver); /* Get viewport boundaries in normalized device coordinates */ -void plplot_canvas_gvpd(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gvpd(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax); /* Get viewport boundaries in world coordinates */ -void plplot_canvas_gvpw(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gvpw(PlplotCanvas* self, PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax); /* Get x axis labeling parameters */ -void plplot_canvas_gxax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gxax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); /* Get y axis labeling parameters */ -void plplot_canvas_gyax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gyax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); /* Get z axis labeling parameters */ -void plplot_canvas_gzax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_gzax(PlplotCanvas* self, PLINT *p_digmax, PLINT *p_digits); /* Draws a histogram of n values of a variable in array data[0..n-1] */ -void plplot_canvas_hist(PlplotCanvas* self, PLINT n, PLFLT *data, PLFLT datmin, PLFLT datmax, PLINT nbin, PLINT oldwin); +PLDLLIMPEXP_GNOME2 void plplot_canvas_hist(PlplotCanvas* self, PLINT n, PLFLT *data, PLFLT datmin, PLFLT datmax, PLINT nbin, PLINT oldwin); /* Set current color (map 0) by hue, lightness, and saturation. */ -void plplot_canvas_hls(PlplotCanvas* self, PLFLT h, PLFLT l, PLFLT s); +PLDLLIMPEXP_GNOME2 void plplot_canvas_hls(PlplotCanvas* self, PLFLT h, PLFLT l, PLFLT s); /* /\* Initializes PLplot, using preset or default options *\/ */ @@ -329,43 +329,43 @@ /* Draws a line segment from (x1, y1) to (x2, y2). */ -void plplot_canvas_join(PlplotCanvas* self, PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2); +PLDLLIMPEXP_GNOME2 void plplot_canvas_join(PlplotCanvas* self, PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2); /* Simple routine for labelling graphs. */ -void plplot_canvas_lab(PlplotCanvas* self, const char *xlabel, const char *ylabel, const char *tlabel); +PLDLLIMPEXP_GNOME2 void plplot_canvas_lab(PlplotCanvas* self, const char *xlabel, const char *ylabel, const char *tlabel); /* Sets position of the light source */ -void plplot_canvas_lightsource(PlplotCanvas* self, PLFLT x, PLFLT y, PLFLT z); +PLDLLIMPEXP_GNOME2 void plplot_canvas_lightsource(PlplotCanvas* self, PLFLT x, PLFLT y, PLFLT z); /* Draws line segments connecting a series of points. */ -void plplot_canvas_line(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y); +PLDLLIMPEXP_GNOME2 void plplot_canvas_line(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y); /* Draws a line in 3 space. */ -void plplot_canvas_line3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z); +PLDLLIMPEXP_GNOME2 void plplot_canvas_line3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z); /* Set line style. */ -void plplot_canvas_lsty(PlplotCanvas* self, PLINT lin); +PLDLLIMPEXP_GNOME2 void plplot_canvas_lsty(PlplotCanvas* self, PLINT lin); /* plot continental outline in world coordinates */ -void plplot_canvas_map(PlplotCanvas* self, void (*mapform)(PLINT, PLFLT *, PLFLT *), char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat); +PLDLLIMPEXP_GNOME2 void plplot_canvas_map(PlplotCanvas* self, void (*mapform)(PLINT, PLFLT *, PLFLT *), char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat); /* Plot the latitudes and longitudes on the background. */ -void plplot_canvas_meridians(PlplotCanvas* self, void (*mapform)(PLINT, PLFLT *, PLFLT *), PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat); +PLDLLIMPEXP_GNOME2 void plplot_canvas_meridians(PlplotCanvas* self, void (*mapform)(PLINT, PLFLT *, PLFLT *), PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat); /* Plots a mesh representation of the function z[x][y]. */ -void plplot_canvas_mesh(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt); +PLDLLIMPEXP_GNOME2 void plplot_canvas_mesh(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt); /* Plots a mesh representation of the function z[x][y] with contour */ -void plplot_canvas_meshc(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); +PLDLLIMPEXP_GNOME2 void plplot_canvas_meshc(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); /* /\* Creates a new stream and makes it the default. *\/ */ @@ -373,101 +373,101 @@ /* Prints out "text" at specified position relative to viewport */ -void plplot_canvas_mtex(PlplotCanvas* self, const char *side, PLFLT disp, PLFLT pos, PLFLT just, const char *text); +PLDLLIMPEXP_GNOME2 void plplot_canvas_mtex(PlplotCanvas* self, const char *side, PLFLT disp, PLFLT pos, PLFLT just, const char *text); /* Plots a 3-d representation of the function z[x][y]. */ -void plplot_canvas_plot3d(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLINT side); +PLDLLIMPEXP_GNOME2 void plplot_canvas_plot3d(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLINT side); /* Plots a 3-d representation of the function z[x][y] with contour. */ -void plplot_canvas_plot3dc(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); +PLDLLIMPEXP_GNOME2 void plplot_canvas_plot3dc(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); /* Plots a 3-d representation of the function z[x][y] with contour and * y index limits. */ -void plplot_canvas_plot3dcl(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_plot3dcl(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax); /* Set fill pattern directly. */ -void plplot_canvas_pat(PlplotCanvas* self, PLINT nlin, PLINT *inc, PLINT *del); +PLDLLIMPEXP_GNOME2 void plplot_canvas_pat(PlplotCanvas* self, PLINT nlin, PLINT *inc, PLINT *del); /* Plots array y against x for n points using ASCII code "code".*/ -void plplot_canvas_poin(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLINT code); +PLDLLIMPEXP_GNOME2 void plplot_canvas_poin(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLINT code); /* Draws a series of points in 3 space. */ -void plplot_canvas_poin3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT code); +PLDLLIMPEXP_GNOME2 void plplot_canvas_poin3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT code); /* Draws a polygon in 3 space. */ -void plplot_canvas_poly3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT *draw, PLINT ifcc); +PLDLLIMPEXP_GNOME2 void plplot_canvas_poly3(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT *draw, PLINT ifcc); /* Set the floating point precision (in number of places) in numeric labels. */ -void plplot_canvas_prec(PlplotCanvas* self, PLINT setp, PLINT prec); +PLDLLIMPEXP_GNOME2 void plplot_canvas_prec(PlplotCanvas* self, PLINT setp, PLINT prec); /* Set fill pattern, using one of the predefined patterns.*/ -void plplot_canvas_psty(PlplotCanvas* self, PLINT patt); +PLDLLIMPEXP_GNOME2 void plplot_canvas_psty(PlplotCanvas* self, PLINT patt); /* Prints out "text" at world cooordinate (x,y). */ -void plplot_canvas_ptex(PlplotCanvas* self, PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text); +PLDLLIMPEXP_GNOME2 void plplot_canvas_ptex(PlplotCanvas* self, PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text); /* Replays contents of plot buffer to current device/file. */ -void plplot_canvas_replot(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_replot(PlplotCanvas* self); /* Set line color by red, green, blue from 0. to 1. */ -void plplot_canvas_rgb(PlplotCanvas* self, PLFLT r, PLFLT g, PLFLT b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_rgb(PlplotCanvas* self, PLFLT r, PLFLT g, PLFLT b); /* Set line color by 8 bit RGB values. */ -void plplot_canvas_rgb1(PlplotCanvas* self, PLINT r, PLINT g, PLINT b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_rgb1(PlplotCanvas* self, PLINT r, PLINT g, PLINT b); /* Set character height. */ -void plplot_canvas_schr(PlplotCanvas* self, PLFLT def, PLFLT scale); +PLDLLIMPEXP_GNOME2 void plplot_canvas_schr(PlplotCanvas* self, PLFLT def, PLFLT scale); /* Set color map 0 colors by 8 bit RGB values */ -void plplot_canvas_scmap0(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b, PLINT ncol0); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scmap0(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b, PLINT ncol0); /* Set number of colors in cmap 0 */ -void plplot_canvas_scmap0n(PlplotCanvas* self, PLINT ncol0); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scmap0n(PlplotCanvas* self, PLINT ncol0); /* Set color map 1 colors by 8 bit RGB values */ -void plplot_canvas_scmap1(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b, PLINT ncol1); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scmap1(PlplotCanvas* self, PLINT *r, PLINT *g, PLINT *b, PLINT ncol1); /* Set color map 1 colors using a piece-wise linear relationship between */ /* intensity [0,1] (cmap 1 index) and position in HLS or RGB color space. */ -void plplot_canvas_scmap1l(PlplotCanvas* self, PLINT itype, PLINT npts, PLFLT *intensity, PLFLT *coord1, PLFLT *coord2, PLFLT *coord3, PLINT *rev); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scmap1l(PlplotCanvas* self, PLINT itype, PLINT npts, PLFLT *intensity, PLFLT *coord1, PLFLT *coord2, PLFLT *coord3, PLINT *rev); /* Set number of colors in cmap 1 */ -void plplot_canvas_scmap1n(PlplotCanvas* self, PLINT ncol1); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scmap1n(PlplotCanvas* self, PLINT ncol1); /* Set a given color from color map 0 by 8 bit RGB value */ -void plplot_canvas_scol0(PlplotCanvas* self, PLINT icol0, PLINT r, PLINT g, PLINT b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scol0(PlplotCanvas* self, PLINT icol0, PLINT r, PLINT g, PLINT b); /* Set the background color by 8 bit RGB value */ -void plplot_canvas_scolbg(PlplotCanvas* self, PLINT r, PLINT g, PLINT b); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scolbg(PlplotCanvas* self, PLINT r, PLINT g, PLINT b); /* Used to globally turn color output on/off */ -void plplot_canvas_scolor(PlplotCanvas* self, PLINT color); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scolor(PlplotCanvas* self, PLINT color); /* Set the compression level */ -void plplot_canvas_scompression(PlplotCanvas* self, PLINT compression); +PLDLLIMPEXP_GNOME2 void plplot_canvas_scompression(PlplotCanvas* self, PLINT compression); /* /\* Set the device (keyword) name *\/ */ @@ -476,27 +476,27 @@ /* Set window into device space using margin, aspect ratio, and */ /* justification */ -void plplot_canvas_sdidev(PlplotCanvas* self, PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sdidev(PlplotCanvas* self, PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy); /* Set up transformation from metafile coordinates. */ -void plplot_canvas_sdimap(PlplotCanvas* self, PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax, PLFLT dimxpmm, PLFLT dimypmm); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sdimap(PlplotCanvas* self, PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax, PLFLT dimxpmm, PLFLT dimypmm); /* Set plot orientation, specifying rotation in units of pi/2. */ -void plplot_canvas_sdiori(PlplotCanvas* self, PLFLT rot); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sdiori(PlplotCanvas* self, PLFLT rot); /* Set window into plot space */ -void plplot_canvas_sdiplt(PlplotCanvas* self, PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sdiplt(PlplotCanvas* self, PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax); /* Set window into plot space incrementally (zoom) */ -void plplot_canvas_sdiplz(PlplotCanvas* self, PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sdiplz(PlplotCanvas* self, PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax); /* Set the escape character for text strings. */ -void plplot_canvas_sesc(PlplotCanvas* self, char esc); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sesc(PlplotCanvas* self, char esc); /* /\* Set family file parameters *\/ */ @@ -504,25 +504,25 @@ /* Set FCI (font characterization integer) */ -void plplot_canvas_sfci(PlplotCanvas* self, PLUNICODE fci); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sfci(PlplotCanvas* self, PLUNICODE fci); /* Set the output file name. */ -void plplot_canvas_sfnam(PlplotCanvas* self, const char *fnam); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sfnam(PlplotCanvas* self, const char *fnam); /* Shade region. */ -void plplot_canvas_shade(PlplotCanvas* self, PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_shade(PlplotCanvas* self, PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); -void plplot_canvas_shade1(PlplotCanvas* self, PLFLT *a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_shade1(PlplotCanvas* self, PLFLT *a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); -void plplot_canvas_shades(PlplotCanvas* self, PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_shades(PlplotCanvas* self, PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT), PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); -void plplot_canvas_fshade(PlplotCanvas* self, PLFLT (*f2eval) (PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLFLT (*c2eval) (PLINT, PLINT, PLPointer), PLPointer c2eval_data, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); +PLDLLIMPEXP_GNOME2 void plplot_canvas_fshade(PlplotCanvas* self, PLFLT (*f2eval) (PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLFLT (*c2eval) (PLINT, PLINT, PLPointer), PLPointer c2eval_data, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data); /* Set up lengths of major tick marks. */ -void plplot_canvas_smaj(PlplotCanvas* self, PLFLT def, PLFLT scale); +PLDLLIMPEXP_GNOME2 void plplot_canvas_smaj(PlplotCanvas* self, PLFLT def, PLFLT scale); /* /\* Set the memory area to be plotted (with the 'mem' driver) *\/ */ @@ -530,7 +530,7 @@ /* Set up lengths of minor tick marks. */ -void plplot_canvas_smin(PlplotCanvas* self, PLFLT def, PLFLT scale); +PLDLLIMPEXP_GNOME2 void plplot_canvas_smin(PlplotCanvas* self, PLFLT def, PLFLT scale); /* /\* Set orientation. Must be done before calling plinit. *\/ */ @@ -538,7 +538,7 @@ /* Set output device parameters. Usually ignored by the driver. */ -void plplot_canvas_spage(PlplotCanvas* self, PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff); +PLDLLIMPEXP_GNOME2 void plplot_canvas_spage(PlplotCanvas* self, PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff); /* /\* Set the pause (on end-of-page) status *\/ */ @@ -550,11 +550,11 @@ /* Set the number of subwindows in x and y */ -void plplot_canvas_ssub(PlplotCanvas* self, PLINT nx, PLINT ny); +PLDLLIMPEXP_GNOME2 void plplot_canvas_ssub(PlplotCanvas* self, PLINT nx, PLINT ny); /* Set symbol height. */ -void plplot_canvas_ssym(PlplotCanvas* self, PLFLT def, PLFLT scale); +PLDLLIMPEXP_GNOME2 void plplot_canvas_ssym(PlplotCanvas* self, PLFLT def, PLFLT scale); /* /\* Initialize PLplot, passing in the windows/page settings. *\/ */ @@ -578,83 +578,83 @@ /* plots a 2d image (or a matrix too large for plshade() ) */ -void plplot_canvas_image(PlplotCanvas* self, PLFLT **data, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT Dxmin, PLFLT Dxmax, PLFLT Dymin, PLFLT Dymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_image(PlplotCanvas* self, PLFLT **data, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT Dxmin, PLFLT Dxmax, PLFLT Dymin, PLFLT Dymax); /* Set up a new line style */ -void plplot_canvas_styl(PlplotCanvas* self, PLINT nms, PLINT *mark, PLINT *space); +PLDLLIMPEXP_GNOME2 void plplot_canvas_styl(PlplotCanvas* self, PLINT nms, PLINT *mark, PLINT *space); /* Plots the 3d surface representation of the function z[x][y]. */ -void plplot_canvas_surf3d(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); +PLDLLIMPEXP_GNOME2 void plplot_canvas_surf3d(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel); /* Plots the 3d surface representation of the function z[x][y] with y * index limits. */ -void plplot_canvas_surf3dl(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_surf3dl(PlplotCanvas* self, PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax); /* Sets the edges of the viewport to the specified absolute coordinates */ -void plplot_canvas_svpa(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_svpa(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); /* Set x axis labeling parameters */ -void plplot_canvas_sxax(PlplotCanvas* self, PLINT digmax, PLINT digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sxax(PlplotCanvas* self, PLINT digmax, PLINT digits); /* Set inferior X window */ -void plplot_canvas_sxwin(PlplotCanvas* self, PLINT window_id); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sxwin(PlplotCanvas* self, PLINT window_id); /* Set y axis labeling parameters */ -void plplot_canvas_syax(PlplotCanvas* self, PLINT digmax, PLINT digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_syax(PlplotCanvas* self, PLINT digmax, PLINT digits); /* Plots array y against x for n points using Hershey symbol "code" */ -void plplot_canvas_sym(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLINT code); +PLDLLIMPEXP_GNOME2 void plplot_canvas_sym(PlplotCanvas* self, PLINT n, PLFLT *x, PLFLT *y, PLINT code); /* Set z axis labeling parameters */ -void plplot_canvas_szax(PlplotCanvas* self, PLINT digmax, PLINT digits); +PLDLLIMPEXP_GNOME2 void plplot_canvas_szax(PlplotCanvas* self, PLINT digmax, PLINT digits); /* Switches to text screen. */ -void plplot_canvas_text(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_text(PlplotCanvas* self); /* Sets the edges of the viewport with the given aspect ratio, leaving */ /* room for labels. */ -void plplot_canvas_vasp(PlplotCanvas* self, PLFLT aspect); +PLDLLIMPEXP_GNOME2 void plplot_canvas_vasp(PlplotCanvas* self, PLFLT aspect); /* Creates the largest viewport of the specified aspect ratio that fits */ /* within the specified normalized subpage coordinates. */ -void plplot_canvas_vpas(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT aspect); +PLDLLIMPEXP_GNOME2 void plplot_canvas_vpas(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT aspect); /* Creates a viewport with the specified normalized subpage coordinates. */ -void plplot_canvas_vpor(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_vpor(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); /* Defines a "standard" viewport with seven character heights for */ /* the left margin and four character heights everywhere else. */ -void plplot_canvas_vsta(PlplotCanvas* self); +PLDLLIMPEXP_GNOME2 void plplot_canvas_vsta(PlplotCanvas* self); /* Set up a window for three-dimensional plotting. */ -void plplot_canvas_w3d(PlplotCanvas* self, PLFLT basex, PLFLT basey, PLFLT height, PLFLT xmin0, PLFLT xmax0, PLFLT ymin0, PLFLT ymax0, PLFLT zmin0, PLFLT zmax0, PLFLT alt, PLFLT az); +PLDLLIMPEXP_GNOME2 void plplot_canvas_w3d(PlplotCanvas* self, PLFLT basex, PLFLT basey, PLFLT height, PLFLT xmin0, PLFLT xmax0, PLFLT ymin0, PLFLT ymax0, PLFLT zmin0, PLFLT zmax0, PLFLT alt, PLFLT az); /* Set pen width. */ -void plplot_canvas_wid(PlplotCanvas* self, PLINT width); +PLDLLIMPEXP_GNOME2 void plplot_canvas_wid(PlplotCanvas* self, PLINT width); /* Set up world coordinates of the viewport boundaries (2d plots). */ -void plplot_canvas_wind(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); +PLDLLIMPEXP_GNOME2 void plplot_canvas_wind(PlplotCanvas* self, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax); /* set xor mode; mode = 1-enter, 0-leave, status = 0 if not interactive device */ -void plplot_canvas_xormod(PlplotCanvas* self, PLINT mode, PLINT *status); +PLDLLIMPEXP_GNOME2 void plplot_canvas_xormod(PlplotCanvas* self, PLINT mode, PLINT *status); G_END_DECLS Modified: trunk/include/plstrm.h =================================================================== --- trunk/include/plstrm.h 2008-10-14 01:36:48 UTC (rev 8890) +++ trunk/include/plstrm.h 2008-10-14 01:41:12 UTC (rev 8891) @@ -729,7 +729,7 @@ /* Initializes device cmap 1 entry by interpolation from pls->cmap1 entries */ -void +PLDLLIMPEXP void plcol_interp(PLStream *pls, PLColor *newcolor, int i, int ncol); /* Opens file for output, prompting if not set. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |