diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-11-20 16:15:39 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-05-08 09:54:27 +0200 |
commit | 686e36a6a46c90aa2f4739c53f27d90a9f05a97a (patch) | |
tree | ddd26bad67742b152d35365207f28f2fb5e4679d /schema | |
parent | adfc373e45dd598d1ad9482c4013ad934339ddf7 (diff) |
svx: add rendering for semi-transparent shape text
The color's alpha is normally lost when we roundtrip SvxColorItem's
tools Color via TextSimplePortionPrimitive2D's basegfx::BColor.
One way would be to add an extra transparency member to the primitive,
like BackgroundColorPrimitive2D does that.
However, a much easier way is to go via UnifiedTransparencePrimitive2D,
that way we handle transparency in
drawinglayer::impBufferDevice::paint(), rather than platform-specific
code like CairoTextRender::DrawTextLayout() in the Linux case.
Change-Id: Ie7aebe77ad9ac776dd27fc50538a5045200c8010
Reviewed-on: https://gerrit.libreoffice.org/83307
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 81b0d5393ca4cf2ff0954e53b05928cde047c2e0)
Diffstat (limited to 'schema')
0 files changed, 0 insertions, 0 deletions