3a9027609e
With OPAQUE option enabled, the rectangle need to be drawn, before drawing text. With CLIPPED option enabled, the text needs to be drawn only inside rectangle. In previous implementation, the rectangle read was skipped and it was not drawn (for OPAQUE). For CLIPPED the rectangle was read but Clip was not applied to text drawing This commit fix that issues, and allow to draw rectangle correctly, with BGColor (background color), and add support for Text Clipping according to [MS-WMF] and [MS-EMF] specification. The fix applied to EMR_EXTTEXTOUTW, EMR_EXTTEXTOUTA and EXTTEXTOUT records Change-Id: I0f6248bb9465e6d5f797cddb53f058afb0815a2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116072 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> |
||
---|---|---|
.. | ||
computer_mail.emf | ||
ETO_PDY.emf | ||
ETO_PDY.wmf | ||
image1.emf | ||
line_styles.emf | ||
sine_wave.emf | ||
tdf39894.emf | ||
tdf39894.wmf | ||
tdf93750.emf | ||
TestExtTextOutOpaqueAndClip.wmf | ||
TestPalette.wmf | ||
TestRoundRect.wmf | ||
visio_import_source.wmf |