diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-11-06 21:45:37 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-11-08 13:52:31 +0100 |
commit | a2fa768b73d96352ffafd166564d2c1cb2e140c3 (patch) | |
tree | 0ca8be51a8d6a2086f3bc35fca41a9f202c2cb58 /drawinglayer/source/attribute/sdrlightingattribute3d.cxx | |
parent | 750d64ce68ecbbf7013e498836c90e3c1ac1b371 (diff) |
extend XML dumpig for primitives to support fontwork objects
This adds support for 3D drawinglayer primitive XML dumping and
adds dumping support for many more primitives and attributes that
were missing before. This is needed to be able to check the
fontwork objects, which can be rendered in 3D.
Change-Id: I0e78be4d4030a0cae3d2b952a1a38de8940ee310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124804
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'drawinglayer/source/attribute/sdrlightingattribute3d.cxx')
-rw-r--r-- | drawinglayer/source/attribute/sdrlightingattribute3d.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx index b07fa88c7ce3..90fcc193c271 100644 --- a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx +++ b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx @@ -105,6 +105,11 @@ namespace drawinglayer::attribute return mpSdrLightingAttribute->getLightVector(); } + const basegfx::BColor& SdrLightingAttribute::getAmbientLightColor() const + { + return mpSdrLightingAttribute->maAmbientLight; + } + // color model solver basegfx::BColor SdrLightingAttribute::solveColorModel( const basegfx::B3DVector& rNormalInEyeCoordinates, |