diff options
Diffstat (limited to 'cppcanvas/source/inc/implrenderer.hxx')
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 26fc5046eede..30850a76fcf0 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -111,32 +111,6 @@ namespace cppcanvas eDx = eDy = eM12 = eM21 = 0.0f; } - void Set (const XForm& f) - { - eM11 = f.eM11; - eM12 = f.eM12; - eM21 = f.eM21; - eM22 = f.eM22; - eDx = f.eDx; - eDy = f.eDy; - } - - // Multiple two square matrices - // [ eM11, eM12, eDx ] [ f.eM11, f.eM12, f.eDx ] - // [ eM21, eM22, eDy ] x [ f.eM21, f.eM22, f.eDy ] - // [ 0, 0, 1 ] [ 0, 0, 1 ] - // More information: https://en.wikipedia.org/wiki/Matrix_multiplication#Square_matrices - // FIXME We shouldn't modify source matrix during computation - void Multiply (const XForm& f) - { - eM11 = eM11*f.eM11 + eM12*f.eM21; - eM12 = eM11*f.eM12 + eM12*f.eM22; - eM21 = eM21*f.eM11 + eM22*f.eM21; - eM22 = eM21*f.eM12 + eM22*f.eM22; - eDx = eDx*f.eM11 + eDy*f.eM21 + f.eDx; - eDy = eDx*f.eM12 + eDy*f.eM22 + f.eDy; - } - friend SvStream& ReadXForm( SvStream& rIn, XForm& rXForm ) { if ( sizeof( float ) != 4 ) @@ -246,19 +220,12 @@ namespace cppcanvas ActionVector::const_iterator& o_rRangeBegin, ActionVector::const_iterator& o_rRangeEnd ) const; - void processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, bool bUseWholeStream = false); - ActionVector maActions; /* EMF+ */ XForm aBaseTransform; XForm aWorldTransform; std::unique_ptr<EMFPObject> aObjects [256]; - float fPageScale; - sal_Int32 nOriginX; - sal_Int32 nOriginY; - sal_Int32 nHDPI; - sal_Int32 nVDPI; /* EMF+ emf header info */ sal_Int32 nFrameLeft; sal_Int32 nFrameTop; @@ -269,8 +236,6 @@ namespace cppcanvas sal_Int32 nMmX; sal_Int32 nMmY; /* multipart object data */ - bool mbMultipart; - sal_uInt16 mMFlags; SvMemoryStream mMStream; /* emf+ graphic state stack */ GraphicStateMap mGSStack; |