mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ add close(x,y) method to geometry
This commit is contained in:
parent
ec2d0cc210
commit
1b805abc23
@ -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…
x
Reference in New Issue
Block a user