Set the API for stroke/fill shape

Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2004-09-17 10:20:14 +00:00
parent 7575ec2d87
commit f06ff64b1a
2 changed files with 16 additions and 11 deletions
@@ -12,9 +12,12 @@ public:
~BezierCurve();
BPoint* GetPointArray();
BList points;
BRect Frame(void) const { return fFrame; }
private:
void GenerateFrame(BPoint *pts);
int GeneratePoints(int startPos);
BPoint* pointArray;
BRect fFrame;
};
struct integer_rect