Making it happen
Archive for March, 2007
Rotated OLE objects as metafiles
Mar 8th
Guess what, normal metafiles (usually kept as cache by OLE) are drawn incorrectly when using SetWorldTransform (after SetGraphicsMode(GM_ADVANCED) ) – they are drawn exactly 38 times smaller
and also offset.
In any case, instead of computing the actual scaling and positioning parameters, a much better solution is to convert to an enhanced metafile (GetMetaFileBitsEx + SetWinMetaFileBits) and replace the COleClientItem cache with it.
