Re: EMF - coordinate transforms

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hey Dave,
Good Morning! EMREXTTEXTOUT to my knowledge has
iGraphicsMode which determines if you apply transform or not.

--
Vipin Aravind
MVP [Windows - Printing/Imaging]

"David Thielen" <thielen@xxxxxxxxxxxxx> wrote in message
news:C0BDBA3A-BFF7-4BC6-ADF1-0EF7D3ED43C6@xxxxxxxxxxxxxxxx
> Hello;
>
> I will email you the emf file. But here is the situation. I get 16.0 for
> eM11 and eM22. If I multipl all points for a polygon by the 16.0 - the
> polygon is placed correctly.
>
> But for exttextout, it is placed correctly if I do not multiply by 16.0.
> Is
> it possible that the world transform is for polygons and shapes, but not
> for
> exttextout?
>
> --
> thanks - dave
>
>
> "Rhett Gong [MSFT]" wrote:
>
>> Hello Dave,
>> When we set a world transform matrix on a surface, the transform should
>> apply to all objects drawed on this surface.
>> After reading your post, it seems your emf file got incorrect positioned
>> when setting 16 to em11 and em22. Generaly, if em11 and em22 are set to
>> 16 and others are 0, all
>> points' coordinate will be (x*16, y*16), when you said it was wrong,
>> what is it? To let me better understand your problem, could you post a
>> repro code and illustrate what it
>> should be or what you want it is please?
>>
>> Thanks very much for your patience,
>>
>> Rhett Gong [MSFT]
>> Microsoft Online Partner Support
>> Get Secure! - www.microsoft.com/security
>> http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp&SD=msdn
>>
>> This posting is provided "AS IS" with no warranties and confers no
>> rights.
>>
>>


.



Relevant Pages