Page 1 of 1

Rotate Metafile

PostPosted: November 9th, 2006, 2:39 pm
by DerDelphianer
Hi all,

I am new with this topic. I ve read many things about MetafileRecords and words like PlayEnhMetafileRecord and so on. I have had read also the Unit EMFRecordTransform.pas from Kambiz.You need many expirience to understand it :oops: Have somebody a examble how can i rotate a metafile in angle like 30 Degree?

I want read a EMF-File. rotate step by 45 degree and save it again.

MfG

PostPosted: November 13th, 2006, 9:00 am
by Kambiz
Have a look at SetWorldTransform Windows API. Use this API to set rotation matrix on a metafile canvas and draw your metafile on it.