From: <and...@us...> - 2009-01-08 20:47:48
|
Revision: 9284 http://plplot.svn.sourceforge.net/plplot/?rev=9284&view=rev Author: andrewross Date: 2009-01-08 20:47:39 +0000 (Thu, 08 Jan 2009) Log Message: ----------- Move plhls, plrgb and plrgb1 to the depreciated section at the end of plplot.h. These functions are marked as depreciated in the source and are not documented, but this makes it clear to users that they should not be used. Modified Paths: -------------- trunk/include/plplot.h Modified: trunk/include/plplot.h =================================================================== --- trunk/include/plplot.h 2009-01-08 20:46:17 UTC (rev 9283) +++ trunk/include/plplot.h 2009-01-08 20:47:39 UTC (rev 9284) @@ -1019,11 +1019,6 @@ c_plhist(PLINT n, PLFLT *data, PLFLT datmin, PLFLT datmax, PLINT nbin, PLINT opt); -/* Set current color (map 0) by hue, lightness, and saturation. */ - -PLDLLIMPEXP void -c_plhls(PLFLT h, PLFLT l, PLFLT s); - /* Functions for converting between HLS and RGB color space */ PLDLLIMPEXP void @@ -1206,16 +1201,6 @@ PLDLLIMPEXP void c_plreplot(void); -/* Set line color by red, green, blue from 0. to 1. */ - -PLDLLIMPEXP void -c_plrgb(PLFLT r, PLFLT g, PLFLT b); - -/* Set line color by 8 bit RGB values. */ - -PLDLLIMPEXP void -c_plrgb1(PLINT r, PLINT g, PLINT b); - /* Functions for converting between HLS and RGB color space */ PLDLLIMPEXP void @@ -1847,7 +1832,25 @@ plarrows(PLFLT *u, PLFLT *v, PLFLT *x, PLFLT *y, PLINT n, PLFLT scale, PLFLT dx, PLFLT dy) ; +/* These functions are depreciated and only retained for backwards + * compatibility - do not use in new code. */ +/* Set current color (map 0) by hue, lightness, and saturation. */ + +PLDLLIMPEXP void +c_plhls(PLFLT h, PLFLT l, PLFLT s); + +/* Set line color by red, green, blue from 0. to 1. */ + +PLDLLIMPEXP void +c_plrgb(PLFLT r, PLFLT g, PLFLT b); + +/* Set line color by 8 bit RGB values. */ + +PLDLLIMPEXP void +c_plrgb1(PLINT r, PLINT g, PLINT b); + + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |