diff options
author | Patrick Jaap <patrick.jaap@tu-dresden.de> | 2017-08-07 17:05:27 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-08-16 15:34:39 +0200 |
commit | 50553df006f5fe8ac59cad3dcde0856735535b40 (patch) | |
tree | 3655c80f332028a65b85a5c2d40e0059808c1600 /drawinglayer/source/tools/emfphelperdata.hxx | |
parent | add a way to restore from our new cache format (diff) | |
download | core-50553df006f5fe8ac59cad3dcde0856735535b40.tar.gz core-50553df006f5fe8ac59cad3dcde0856735535b40.zip |
new EMF+ Parser: Implementation of EmfPlusRecordTypeDrawDriverString
The Implementation follows closely EmfPlusRecordTypeDrawString.
For each set of characters with the same PosY a TextSimplePortionPrimitive2D
is created.
Change-Id: I04e4d11dc3c4e1e5bd16aefa8e7f00556aa5282b
Reviewed-on: https://gerrit.libreoffice.org/40716
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'drawinglayer/source/tools/emfphelperdata.hxx')
-rw-r--r-- | drawinglayer/source/tools/emfphelperdata.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx index 21f5dcdddabd..7a6d8b1f89ee 100644 --- a/drawinglayer/source/tools/emfphelperdata.hxx +++ b/drawinglayer/source/tools/emfphelperdata.hxx @@ -25,6 +25,7 @@ #include <tools/stream.hxx> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/vector/b2dsize.hxx> +#include <basegfx/color/bcolor.hxx> // predefines class SvStream; @@ -232,6 +233,9 @@ namespace emfplushelper void EMFPPlusDrawPolygon(const ::basegfx::B2DPolyPolygon& polygon, sal_uInt32 penIndex); void EMFPPlusFillPolygon(const ::basegfx::B2DPolyPolygon& polygon, bool isColor, sal_uInt32 brushIndexOrColor); + // helper functions + ::basegfx::BColor EMFPGetBrushColorOrARGBColor(sal_uInt16 flags, sal_uInt32 brushIndexOrColor); + public: EmfPlusHelperData( SvMemoryStream& rMS, |