diff options
author | corvid <corvid@lavabit.com> | 2011-08-04 07:13:13 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-08-04 07:13:13 +0000 |
commit | bc05ad05cb92d0b67c6354c2ffe96b4957257242 (patch) | |
tree | 693ba73943b0e42feccd994c608328ccbe6ae920 /dw/fltkviewbase.hh | |
parent | b0b6145de9007ec837a90121c1af5bc86d5e9dfd (diff) |
rm my FLTK2-era points array optimisation for drawPolygon()
(I had made it use that less-clear int[][2] interface because fltk2 let you add
all of the vertices in one call.)
It feels good to change that nasty-looking pointArray in Polygon::draw().
Diffstat (limited to 'dw/fltkviewbase.hh')
-rw-r--r-- | dw/fltkviewbase.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/fltkviewbase.hh b/dw/fltkviewbase.hh index e6e85694..b8d1e874 100644 --- a/dw/fltkviewbase.hh +++ b/dw/fltkviewbase.hh @@ -98,7 +98,8 @@ public: int angle1, int angle2); void drawPolygon (core::style::Color *color, core::style::Color::Shading shading, - bool filled, bool convex, int points[][2], int npoints); + bool filled, bool convex, + core::Point *points, int npoints); core::View *getClippingView (int x, int y, int width, int height); void mergeClippingView (core::View *clippingView); |