reported by: Skye Bender-deMoll <skyebend@skyeome.net>
(and Greg)
p = N_NEW(nump, pointf);
p[0].x = coord.x;
p[0].y = coord.y;
- p[1].x = coord.x + vertices[peripheries - 1].x;
- p[1].y = coord.y + vertices[peripheries - 1].y;
+ /* ... but vertices contains LL cornet of bb */
+ p[1].x = coord.x - vertices[peripheries - 1].x;
+ p[1].y = coord.y - vertices[peripheries - 1].y;
}
else { /* ellipse is treated as polygon */
obj->url_map_shape= MAP_POLYGON;
p[i].x += coord.x;
p[i].y += coord.y;
}
- }
+ }
}
/* all other polygonal shape */
else {