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 commit2b700a710e
. Revert "Pass also the bounding box in device units to the EMF+ part" This reverts commitf387c5da5a
.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user