diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2015-01-12 13:24:47 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2015-01-12 13:34:14 +0100 |
commit | ca1f918c327f82568e65f7f49e24b7158c63181f (patch) | |
tree | a77f4baacacf8f0565764b86be63e1e52cdac078 /vcl/inc/openglgdiimpl.hxx | |
parent | clean up resetting of solid color when using opengl AA (diff) | |
download | core-ca1f918c327f82568e65f7f49e24b7158c63181f.tar.gz core-ca1f918c327f82568e65f7f49e24b7158c63181f.zip |
make AA edges of objects look smoother (opengl)
Change-Id: I66a04febdbfa673e0883ab6f574bb7768cad7953
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index cf7392d38947..2b815ee80efd 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -64,7 +64,7 @@ protected: void ImplInitClipRegion(); void ImplSetClipBit( const vcl::Region& rClip, GLuint nMask ); - + void ImplDrawLineAA( double nX1, double nY1, double nX2, double nY2, bool edge = false ); bool CheckOffscreenTexture(); public: @@ -81,6 +81,7 @@ public: void DrawLines( sal_uInt32 nPoints, const SalPoint* pPtAry, bool bClose ); 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 DrawRect( long nX, long nY, long nWidth, long nHeight ); |