Revert some random work-in-progress that is most probably bitrotten

Revert "EMF+: aBaseTransform is a hardcoded identity matrix, don't bother with it"

This reverts commit 2b700a710e.

Revert "Pass also the bounding box in device units to the EMF+ part"

This reverts commit f387c5da5a.
This commit is contained in:
Fridrich Štrba
2013-08-30 14:31:29 +02:00
parent f8426f5053
commit 21ee132af1
4 changed files with 28 additions and 13 deletions

View File

@@ -1787,12 +1787,13 @@ namespace cppcanvas
SvMemoryStream rMF ((void*) pAct->GetData (), pAct->GetDataSize (), STREAM_READ);
rMF >> nBoundsLeft >> nBoundsTop >> nBoundsRight >> nBoundsBottom;
SAL_INFO ("cppcanvas.emf", "EMF+ picture bounds: " << nBoundsLeft << "," << nBoundsTop << " - " << nBoundsRight << "," << nBoundsBottom);
rMF >> nFrameLeft >> nFrameTop >> nFrameRight >> nFrameBottom;
SAL_INFO ("cppcanvas.emf", "EMF+ picture frame: " << nFrameLeft << "," << nFrameTop << " - " << nFrameRight << "," << nFrameBottom);
rMF >> nPixX >> nPixY >> nMmX >> nMmY;
SAL_INFO ("cppcanvas.emf", "EMF+ ref device pixel size: " << nPixX << "x" << nPixY << " mm size: " << nMmX << "x" << nMmY);
rMF >> aBaseTransform;
//aWorldTransform.Set (aBaseTransform);
}
}
break;