summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-09-24 19:43:58 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-09-25 13:34:34 +0200
commit32020eb33ba9501510acb449bc84cfaa85bc0bd0 (patch)
tree1240f0adb461a130c434adb0e5216869839fd09e /include
parentfbcb6add21b889e20f67a7ef6e4e3c32ac1261d3 (diff)
don't write metafile action twice in DrawPolyLineDirect()
All other functions calling it already do so, so write it only when called from the outside. Change-Id: If17d973a5d6b3797db46e91a1ec36606a89c5d07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103353 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index d3a1668c81bc..14b03507dfe3 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -826,6 +826,16 @@ private:
///@}
+ bool DrawPolyLineDirectInternal(
+ const basegfx::B2DHomMatrix& rObjectTransform,
+ const basegfx::B2DPolygon& rB2DPolygon,
+ double fLineWidth = 0.0,
+ double fTransparency = 0.0,
+ const std::vector< double >* = nullptr, // MM01
+ basegfx::B2DLineJoin eLineJoin = basegfx::B2DLineJoin::NONE,
+ css::drawing::LineCap eLineCap = css::drawing::LineCap_BUTT,
+ double fMiterMinimumAngle = basegfx::deg2rad(15.0),
+ bool bBypassAACheck = false);
/** @name Polygon functions
*/