d7263d05bd
This adds a test for drawing a BitmapEx which has an alpha channel onto a VirtualDevice. Most important is that alpha blending is done as we expect it (but it is prone to rounding error). Change-Id: I41a16ca9da98d7a067ada9aafad8c9fc7c6484d5 Reviewed-on: https://gerrit.libreoffice.org/70804 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
48 lines
1.3 KiB
Makefile
48 lines
1.3 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,vcl_bitmap_render_test))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_bitmap_render_test, \
|
|
vcl/qa/cppunit/bitmaprender/BitmapRenderTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,vcl_bitmap_render_test,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/vcl/inc \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,vcl_bitmap_render_test, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
svt \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_bitmap_render_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,vcl_bitmap_render_test))
|
|
$(eval $(call gb_CppunitTest_use_vcl,vcl_bitmap_render_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,vcl_bitmap_render_test,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,vcl_bitmap_render_test,\
|
|
configmgr/source/configmgr \
|
|
i18npool/util/i18npool \
|
|
ucb/source/core/ucb1 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,vcl_bitmap_render_test))
|
|
|
|
# vim: set noet sw=4 ts=4:
|