Hello!
I'm wondering how to zoom text output and other GDI functions. Under Windows NT, there is the SetWorldTransform function, but there is no such function under 9x platforms. So how do people normally accomplish this??

--Chorus
Posted on 2002-05-13 08:50:41 by chorus
(1) SetMapMode with either MM_ISOTROPIC (equally scaled axes) or MM_ANISOTROPIC

(2) SetWindowExtEx with the 'real' dimensions of the output area (which may be the client area of a window)

(3) SetViewportExtEx with the 'zoomed' dimensions - so to zoom a window's contents by a factor of 4, use the client area's dimensions multiplied by 4 as the horizontal and vertical extents

I think this works with all GDI functions (including DrawText)
Posted on 2002-05-13 16:53:09 by eGo
Thanks, eGo
Posted on 2002-05-14 12:19:18 by chorus
Hmmm thats interesting

Is there also a way to rotate a bitmap without SetWorld...

Like its in 3d space that is
Posted on 2002-05-14 21:24:44 by titan