[Libreoffice-bugs] [Bug 101639] [FILEOPEN] EMF areas with dotted pattern aren't filled due to missing hatch style (=pattern) (Comment 19)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 21 19:50:46 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=101639
--- Comment #23 from Chris Sherlock <chris.sherlock79 at gmail.com> ---
I know this might seem odd, but this is sort of working. The reason that this
is a purplish background is because we are actually blending the colours to
create the hatch.
The hatch being used in the EMF is HatchStyle70Percent. According to the EMF+
specs, in actual fact this is "HatchStyle70Percent: Specifies a 70-percent
hatch, which is the ratio of foreground color to background color equal to
70:100."
Nevertheless, I wouldn't consider this fully fixed yet, because in fact we
haven't implemented any hatches other than the blending hatches.
The code in question will need to be implemented in
EmfPlusHelperData::EMFPPlusFillPolygon(). The best way of implementing it would
be as a drawinglayer 2D primitive.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191221/408fe669/attachment.htm>
More information about the Libreoffice-bugs
mailing list