From 6b2d8e2d88a67d446827ed0ab968f0a06e297d18 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 19 Nov 2021 11:15:00 +0100 Subject: handle filling and stroking at the same time if possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All tests still pass, so the end result should be the same, but this way it's done in one call. Change-Id: If5da34837a45ad600ae30568e4ba7651ac5838bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125644 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- vcl/inc/skia/gdiimpl.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vcl/inc/skia') diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index aeaef186ca44..cc4cda4b2ebd 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -327,7 +327,10 @@ protected: paint.setColor(transparency == 0 ? SkiaHelper::toSkColor(mFillColor) : SkiaHelper::toSkColorWithTransparency(mFillColor, transparency)); - paint.setStyle(SkPaint::kFill_Style); + if (mLineColor == mFillColor) + paint.setStyle(SkPaint::kStrokeAndFill_Style); + else + paint.setStyle(SkPaint::kFill_Style); return paint; } -- cgit o/cib/libreoffice-5-1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2024-01-30 09:19:37 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-01-30 09:19:37 +0100
commit72ed7fa32bca2d15cf6ea5eb05c792fafa14308d (patch)
treeca46f56932137a7c58a0042fdae58d86f65391a5 /scripting/Package_scriptbindinglib.mk
parentfe459b9595c851d00a861d595c8dd50b35c90be3 (diff)
Bump version to 6.4.0.23 cib-6.4-23
Change-Id: I3cd0082e0ae35c12f2dc4428dc7906912ab745d2