+ add close(x,y) method to geometry
This commit is contained in:
parent
ec2d0cc210
commit
1b805abc23
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,11 @@ public:
|
|||
push_vertex(x,y,SEG_MOVETO);
|
||||
}
|
||||
|
||||
void close(coord_type x, coord_type y)
|
||||
{
|
||||
push_vertex(x,y,SEG_CLOSE);
|
||||
}
|
||||
|
||||
unsigned vertex(double* x, double* y) const
|
||||
{
|
||||
return cont_.get_vertex(itr_++,x,y);
|
||||
|
|
Loading…
Reference in a new issue