lemon/eps.h
changeset 2262 b9a7f4115abe
parent 2207 75a29ac69c19
child 2350 eb371753e814
equal deleted inserted replaced
4:ba73720b8a66 5:a58775b345f4
   203 
   203 
   204     ///If you call this function, then the drawing operations like \ref line(),
   204     ///If you call this function, then the drawing operations like \ref line(),
   205     ///\ref lineTo(), \ref moveTo() will not take place immediately, but istead
   205     ///\ref lineTo(), \ref moveTo() will not take place immediately, but istead
   206     ///they
   206     ///they
   207     ///are collected. These operations form a \e path.
   207     ///are collected. These operations form a \e path.
   208     ///Then you can \ref stroke(), \ref fill(), \ref eofill(), \ref clip() or
   208     ///Then you can \ref stroke(), \ref fill(), \ref eoFill(), \ref clip() or
   209     ///\ref eoclip() it.
   209     ///\ref eoClip() it.
   210     ///When drawing, you can also use \ref closePath() to - surprise - close the
   210     ///When drawing, you can also use \ref closePath() to - surprise - close the
   211     ///current path.
   211     ///current path.
   212     ///
   212     ///
   213     ///This example draws a red filled diamond.
   213     ///This example draws a red filled diamond.
   214     ///\code
   214     ///\code
   220     ///Close the current drawing path
   220     ///Close the current drawing path
   221     EpsDrawer &closePath();
   221     EpsDrawer &closePath();
   222     ///Stroke (draw) a path
   222     ///Stroke (draw) a path
   223 
   223 
   224     ///Stroke (draw) a path.
   224     ///Stroke (draw) a path.
   225     ///\sa collect
   225     ///\sa collect()
   226     ///
   226     ///
   227     EpsDrawer &stroke();
   227     EpsDrawer &stroke();
   228     ///Fill a path
   228     ///Fill a path
   229 
   229 
   230     ///Fill a path.
   230     ///Fill a path.
   231     ///\sa collect
   231     ///\sa collect()
   232     ///
   232     ///
   233     EpsDrawer &fill();
   233     EpsDrawer &fill();
   234     ///Even-odd fill a path
   234     ///Even-odd fill a path
   235 
   235 
   236     ///Even-odd fill a path.
   236     ///Even-odd fill a path.
   237     ///\sa collect
   237     ///\sa collect()
   238     ///
   238     ///
   239     EpsDrawer &eoFill();
   239     EpsDrawer &eoFill();
   240     ///Set a clipping area.
   240     ///Set a clipping area.
   241 
   241 
   242     ///This function sets a clipping area. After that, the drawing operations
   242     ///This function sets a clipping area. After that, the drawing operations
   243     ///will affect only this area.
   243     ///will affect only this area.
   244     ///\sa collect
   244     ///\sa collect()
   245     ///
   245     ///
   246     EpsDrawer &clip();
   246     EpsDrawer &clip();
   247     ///Set a clipping area using even-odd rule.
   247     ///Set a clipping area using even-odd rule.
   248 
   248 
   249     ///This function sets a clipping area using even-odd rule.
   249     ///This function sets a clipping area using even-odd rule.
   250     ///After that, the drawing operations
   250     ///After that, the drawing operations
   251     ///will affect only this area.
   251     ///will affect only this area.
   252     ///\sa collect
   252     ///\sa collect()
   253     ///
   253     ///
   254     EpsDrawer &eoClip();
   254     EpsDrawer &eoClip();
   255     
   255     
   256     ///Set the line width.
   256     ///Set the line width.
   257     EpsDrawer &lineWidth(double w);
   257     EpsDrawer &lineWidth(double w);