diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2015-01-18 19:00:32 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2015-01-19 12:17:52 +0100 |
commit | b8b37e6ef29d7868e3e4a41df5a0a97b4297d77b (patch) | |
tree | 1b48e51ad665c1f0056d5dd3a40606114afd040b /vcl/inc/openglgdiimpl.hxx | |
parent | 1f978c136e803a0ab75fad427cde90661ed1afac (diff) |
fix opengl hairline special casing
Apparently polygons can consist of curves too.
Change-Id: Ie35861e6d182e4bd4ac0523e78a90618c96f09a6
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 4b504693f685..ce49e96c2123 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -35,6 +35,11 @@ class SalFrame; class SalVirtualDevice; +namespace basegfx +{ +class B2DTrapezoid; +}; + class VCL_PLUGIN_PUBLIC OpenGLSalGraphicsImpl : public SalGraphicsImpl { protected: @@ -84,6 +89,7 @@ public: void DrawEdgeAA( double nX1, double nY1, double nX2, double nY2 ); void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, bool blockAA = false ); void DrawConvexPolygon( const Polygon& rPolygon, bool blockAA = false ); + void DrawTrapezoid( const basegfx::B2DTrapezoid& trapezoid ); void DrawRect( long nX, long nY, long nWidth, long nHeight ); void DrawRect( const Rectangle& rRect ); void DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); |