emfplus: more corrections and rough geometry

Desktop / LibreOffice - Armin Le Grand [cib.de] - 15 July 2017 05:01 EDT

Corrected/streamlined more, added 1st rough geometry creation to have a proof of concept. Checked the helper classes based on EMFPObject and their derivates. First versions of EMFPPlusDrawPolygon and EMFPPlusFillPolygon, but the complex info in the data objects needs more complex primitive creation. Not sure if primitive creators like createHairlineAndFillPrimitive will be usable, these are based on PropertyHolder info. Also added usage of HandleNewClipRegion, that should be usable

41f5459 emfplus: more corrections and rough geometry
drawinglayer/inc/wmfemfhelper.hxx | 5 +
drawinglayer/source/tools/emfpbrush.cxx | 450 ++++---
drawinglayer/source/tools/emfpcustomlinecap.cxx | 7 -
drawinglayer/source/tools/emfpfont.cxx | 5 +-
drawinglayer/source/tools/emfphelperdata.cxx | 1649 ++++++++++++-----------
drawinglayer/source/tools/emfphelperdata.hxx | 4 +
drawinglayer/source/tools/emfpimage.cxx | 21 +-
drawinglayer/source/tools/emfppath.cxx | 79 +-
drawinglayer/source/tools/emfppen.cxx | 77 +-
drawinglayer/source/tools/emfpregion.cxx | 13 +-
drawinglayer/source/tools/emfpstringformat.cxx | 2 -
11 files changed, 1251 insertions(+), 1061 deletions(-)

Upstream: cgit.freedesktop.org


  • Share