Polygon points vector STL-ified.

This commit is contained in:
2025-08-10 14:39:36 -04:00
parent c63f58cfe1
commit 6c3bf19bbd
2 changed files with 16 additions and 23 deletions

View File

@ -107,7 +107,7 @@ public:
class Polygon: public Shape
{
private:
lout::misc::SimpleVector<Point> *points;
std::vector< Point > points;
int minx, miny, maxx, maxy;
/**
@ -126,7 +126,6 @@ private:
public:
Polygon ();
~Polygon ();
void draw (core::View *view, core::style::Style *style, int x, int y);
void addPoint (int x, int y);