44 void initPlot (
const std::string & filename,
45 double x,
double y,
double w,
double h );
49 void lineTo (
double x,
double y );
53 void moveTo (
double x,
double y );
61 void setLineWidth (
double size );
67 void setRgbColor (
const Color & color );
73 void setRgbColor (
int red,
int green,
int blue );
82 virtual void draw_Text (
const std::string &s,
float x,
float y,
83 float fontsize,
float angle,
84 char xp,
char yp,
const FontBase * );
91 EpsView (
const std::string file,
double x,
double y,
double w,
double h );
97 virtual void closeFile ();
99 virtual void drawLines (
const std::vector< double > & x,
100 const std::vector< double > & y,
105 virtual void drawColorLines (
const std::vector< double > & x,
106 const std::vector< double > & y,
108 const std::vector < Color > & color,
111 virtual void drawViewLines (
const std::vector< double > & x,
112 const std::vector< double > & y,
117 virtual void drawViewLines (
const std::vector< double > & x,
118 const std::vector< double > & y,
123 virtual void drawPolyLine (
const std::vector< double > & xpoints,
124 const std::vector< double > & ypoints,
129 virtual void drawSquare (
double x1,
double y1,
double x2,
double y2,
130 int red,
int green,
int blue );
132 virtual void drawViewSquare (
float x1,
float y1,
float x2,
float y2,
133 int red,
int green,
int blue );
135 virtual void drawPoints (
const std::vector<double> & x,
136 const std::vector<double> & y,
139 const Color & color );
141 virtual void drawPoints (
const std::vector< double > & x,
142 const std::vector< double > & y,
143 const std::vector< Color > & colors,
147 virtual void drawText (
const std::string &s,
float x,
float y,
148 float fontsize,
float angle,
149 char xp,
char yp,
bool resize,
151 const Color * color );
154 virtual Rect getDrawRect ()
const;
155 virtual void setDrawRect (
float x,
float y,
float w,
float h );
157 float userToDrawX (
double x )
const;
158 float userToDrawXAutoInv (
double x )
const;
159 float userToDrawY (
double x )
const;
160 float userToDrawColor (
double c )
const;
161 float toViewX (
double datX )
const;
162 float toViewY (
double datY )
const;
163 float toX (
double x )
const;
164 float toY (
double y )
const;
170 #endif // _EpsView_H_