EMF metafile resolution?

Giganews Newsgroups
Subject:EMF metafile resolution?
Posted by: arthur hoornweg (antispam.hoornweg@casema.nl.net)
Date:Tue, 10 Mar 2009

Hello all,

I always though that a metafile would have the same resolution as the
screen (normally 96 dpi) when you specify "0" as the reference DC.

      h := getdc(0);
      metafiledpi := getdevicecaps(h, logpixelsx);

However, I'm now stumbling upon really weird situations where it
seems the real resolution of the metafile is something like 72 dpi.
For example, when I render a richtext to it.

Can anyone enlighten me?
How can I *reliably* specify or test the dpi when I create a
tmetafilecanvas?

--
Arthur Hoornweg

(In order to reply per e-mail, please just remove the ".net"
  from my e-mail address. Leave the rest of the address intact
  including the "antispam" part. I had to take this measure to
  counteract unsollicited mail.)

Replies