diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2015-01-18 18:58:20 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2015-01-19 12:17:52 +0100 |
commit | 1f978c136e803a0ab75fad427cde90661ed1afac (patch) | |
tree | c51ba49931e8d7c13ad9e66fc699d84b4e63fc8a /vcl/inc | |
parent | 0bdad2b3b6a2b4c252ff71c2b3995485fd34ed8d (diff) |
use AA for convex polygons when needed too
Change-Id: I8e66d369956a9bcf9c63c6eccad47d4b7a7eb67d
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 2b815ee80efd..4b504693f685 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -82,8 +82,8 @@ public: void DrawLineAA( double nX1, double nY1, double nX2, double nY2 ); void DrawLinesAA( sal_uInt32 nPoints, const SalPoint* pPtAry, bool bClose ); void DrawEdgeAA( double nX1, double nY1, double nX2, double nY2 ); - void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); - void DrawConvexPolygon( const Polygon& rPolygon ); + void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, bool blockAA = false ); + void DrawConvexPolygon( const Polygon& rPolygon, bool blockAA = false ); void DrawRect( long nX, long nY, long nWidth, long nHeight ); void DrawRect( const Rectangle& rRect ); void DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); |