Files
odfstudio/drawinglayer/CppunitTest_drawinglayer_processors.mk
Andreas Heinisch e1fe3c74f9 tdf#152997 - Duplicate an odd length dash array to meet the spec
An odd-length array will be drawn as one dash spanning the entire path.
The specifications under
https://www.w3.org/TR/svg-strokes/#StrokeDashing state: "If the list has
an odd number of values, then it is repeated to yield an even number of
values. Thus, the rendering behaviour of stroke-array: 5,4,2 is
equivalent to stroke-dasharray: 5,4,2,5,4,2."

Change-Id: I8f233c4cec5c85f5ab1096b032cbb8743715f14d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211062
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2026-09-21 12:28:00 +02:00

62 lines
1.5 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CppunitTest_CppunitTest,drawinglayer_processors))
$(eval $(call gb_CppunitTest_use_api,drawinglayer_processors,\
offapi \
udkapi \
))
$(eval $(call gb_CppunitTest_use_libraries,drawinglayer_processors, \
basegfx \
comphelper \
$(if $(ENABLE_WASM_STRIP_CANVAS),,cppcanvas) \
cppu \
cppuhelper \
sal \
salhelper \
drawinglayer \
drawinglayercore \
vcl \
test \
tl \
unotest \
svt \
utl \
))
$(eval $(call gb_CppunitTest_use_externals,drawinglayer_processors,\
boost_headers \
))
$(eval $(call gb_CppunitTest_add_exception_objects,drawinglayer_processors, \
drawinglayer/qa/unit/strokeattribute \
drawinglayer/qa/unit/vclmetafileprocessor2d \
drawinglayer/qa/unit/vclpixelprocessor2d \
))
$(eval $(call gb_CppunitTest_use_ure,drawinglayer_processors))
$(eval $(call gb_CppunitTest_use_vcl,drawinglayer_processors))
$(eval $(call gb_CppunitTest_use_components,drawinglayer_processors,\
canvas/source/vcl/vclcanvas \
canvas/source/factory/canvasfactory \
configmgr/source/configmgr \
i18npool/util/i18npool \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
framework/util/fwk \
))
$(eval $(call gb_CppunitTest_use_configuration,drawinglayer_processors))
# vim: set noet sw=4 ts=4: