Re: GDI+ Metafiles
From: Mike D Sutton (EDais_at_mvps.org)
Date: 02/17/05
- Next message: Jan Hyde: "Re: newbie - get memory error message when close .exe"
- Previous message: Jan Hyde: "Re: newbie - get memory error message when close .exe"
- In reply to: YYZ: "Re: GDI+ Metafiles"
- Next in thread: YYZ: "Re: GDI+ Metafiles"
- Reply: YYZ: "Re: GDI+ Metafiles"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Feb 2005 09:06:42 -0000
> Hi Mike! No, I'm not tied to a GDI+ metafile, but I have written code that
> uses GDI+ drawing methods. I can't figure out how to make them work
> (drawing with an alpha channel) in a normal metafile.
>
> This project is a continuation of one that you were helping me with quite a
> while ago. Basically, you and Alpine convinced me to, instead of creating a
> drawing layer and redrawing every object on demand, draw all of my objects
> as metafiles and then just play them as needed. That worked great.
>
> However, now we have moved from straight GDI to GDI+. You just responded to
> another of my posts from the 12th about Alphablending. We moved to GDI+
> because of its support for this. However, you just scared me when you
> posted "having to use the slow and clunky GDI+. " Is it slower than GDI?
I've never done any testing myself, but everything I've read on the subject seems to point to that conclusion. It's
device independence and graphical 'niceties' such as anti-aliasing, pixel centring etc add additional overhead to the
routines, and since the majority of it is built over the top of the existing GDI infrastructure it's quite impossible
for it to be faster.
> Yeah, jumping into designing a type library with API calls that I don't know
> how they work doesn't seem like the quickest route to success. Then again,
> I WOULD like to learn the theory behind type libraries...
Here's an article on the subject I found recently whilst helping another poster, it may be of some interest to you:
http://www.devx.com/vb2themax/Article/19830/1763/page/1
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@mvps.org
WWW: http://EDais.mvps.org/
- Next message: Jan Hyde: "Re: newbie - get memory error message when close .exe"
- Previous message: Jan Hyde: "Re: newbie - get memory error message when close .exe"
- In reply to: YYZ: "Re: GDI+ Metafiles"
- Next in thread: YYZ: "Re: GDI+ Metafiles"
- Reply: YYZ: "Re: GDI+ Metafiles"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|