lemon/eps.h
changeset 2195 f47faf6913ab
parent 2084 59769591eb60
child 2207 75a29ac69c19
equal deleted inserted replaced
2:a9fbdbc813d9 3:a6793bfc7dd2
   284     ///\param x The \c x coordinate of the node
   284     ///\param x The \c x coordinate of the node
   285     ///\param y The \c y coordinate of the node
   285     ///\param y The \c y coordinate of the node
   286     ///\param col Color of the node. The default color is white
   286     ///\param col Color of the node. The default color is white
   287     ///\param brd Color of the node border. The default color is black
   287     ///\param brd Color of the node border. The default color is black
   288     EpsDrawer &node(NodeShapes t, double x, double y, double r,
   288     EpsDrawer &node(NodeShapes t, double x, double y, double r,
   289 		    Color col=Color(1,1,1), Color brd=Color(0,0,0));
   289 		    Color col=WHITE, Color brd=BLACK);
   290     ///Draw a node shape
   290     ///Draw a node shape
   291     
   291     
   292     ///Draw a node shape.
   292     ///Draw a node shape.
   293     ///
   293     ///
   294     ///\param t The shape of the drawn object
   294     ///\param t The shape of the drawn object
   295     ///\param pos Position of the node
   295     ///\param pos Position of the node
   296     ///\param col Color of the node. The default color is white
   296     ///\param col Color of the node. The default color is white
   297     ///\param brd Color of the node border. The default color is black
   297     ///\param brd Color of the node border. The default color is black
   298     template<class T>
   298     template<class T>
   299     EpsDrawer &node(NodeShapes t, xy<T> pos, double r,
   299     EpsDrawer &node(NodeShapes t, xy<T> pos, double r,
   300 		    Color col=Color(1,1,1), Color brd=Color(0,0,0))
   300 		    Color col=WHITE, Color brd=BLACK)
   301     {
   301     {
   302       return node(t,pos.x,pos.y,r,col,brd);
   302       return node(t,pos.x,pos.y,r,col,brd);
   303     }
   303     }
   304 
   304 
   305     ///Translate the coordinate system
   305     ///Translate the coordinate system