[comp.windows.ms] MetaFile, How to GetTextExtent ?

cy03+@andrew.cmu.edu (Chao-Ping Yang) (08/15/89)

Could someone tells me how do I get around the problem of
not being able to use any of the Get??? functions when drawing
to a MetaFile? To be specific, how do I get basic information
like GetTextExtent for text positioning when using a MetaFile?

Why only a SUBSET of the GDI functions can be used in Windows'
MetaFile, while all the QuickDraw commands can be used in the
Mac's Picture?

==Chaoping
cy03@andrew.cmu.edu

bturner@hpcvlx.HP.COM (Bill Turner) (08/15/89)

> Why only a SUBSET of the GDI functions can be used in Windows'
> MetaFile, while all the QuickDraw commands can be used in the
> Mac's Picture?

Most of the functions disallowed on MSW metafiles are device-specific
inquiry.  I'm not familiar with Mac, so what do they do if a metafile
is generated for one particular device and played back on another with
different attributes?

--Bill Turner (bturner@hp-pcd.hp.com)
HP Corvallis Information Systems