BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rendering metafiles using GDI+

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
ne_one
Guest





PostPosted: Wed Sep 29, 2004 5:38 pm    Post subject: Rendering metafiles using GDI+ Reply with quote



I've come across a number of queries from people asking about
anti-aliased rendering of WMF/EMF files using GDI+. The consensus
seems to be that this can be achieved by resampling or enumerating all
of the GDI calls and converting them to their equivalent. The latter
approach would better suit our needs because we would like to retain
the constructs.

Does anyone know of any commercial or open source libraries/components
that support the translation of metafiles into their equivalent GDI+
calls? Failing that, would anyone be interested in doing the custom
development?

Any points would be greatly appreciated.


Back to top
Mr. X
Guest





PostPosted: Thu Sep 30, 2004 5:53 am    Post subject: Re: Rendering metafiles using GDI+ Reply with quote



Hi
what kind of GDI+ calls are you looking for ? let me know the details if i
can help you ,,,,
http://www.xpressionlab.com/contact.htm


"ne_one" <ne_one (AT) hotmail (DOT) com> wrote

Quote:
I've come across a number of queries from people asking about
anti-aliased rendering of WMF/EMF files using GDI+. The consensus
seems to be that this can be achieved by resampling or enumerating all
of the GDI calls and converting them to their equivalent. The latter
approach would better suit our needs because we would like to retain
the constructs.

Does anyone know of any commercial or open source libraries/components
that support the translation of metafiles into their equivalent GDI+
calls? Failing that, would anyone be interested in doing the custom
development?

Any points would be greatly appreciated.





Back to top
Nils Haeck
Guest





PostPosted: Thu Sep 30, 2004 9:33 am    Post subject: Re: Rendering metafiles using GDI+ Reply with quote



Gnostice seems to be able to convert WMF files to individual drawing
commands, but then in PDF. It would be a small step to convert to GDI+
instead of PDF. Try contacting them.

Nils Haeck
www.simdesign.nl

"ne_one" <ne_one (AT) hotmail (DOT) com> wrote

Quote:
I've come across a number of queries from people asking about
anti-aliased rendering of WMF/EMF files using GDI+. The consensus
seems to be that this can be achieved by resampling or enumerating all
of the GDI calls and converting them to their equivalent. The latter
approach would better suit our needs because we would like to retain
the constructs.

Does anyone know of any commercial or open source libraries/components
that support the translation of metafiles into their equivalent GDI+
calls? Failing that, would anyone be interested in doing the custom
development?

Any points would be greatly appreciated.





Back to top
ne_one
Guest





PostPosted: Thu Sep 30, 2004 7:02 pm    Post subject: Re: Rendering metafiles using GDI+ Reply with quote

Translating between GDI and GDI+ calls would have to be fairly
comprehensive because the data set is unpredictable. Microsoft has a
function in v1.1 of GDI+ that appears to do this, but unfortunately
the API is not yet available.

For my needs, a control capable of rendering metafiles antialiased
using drawing primitives would suffice -- whether it's implemented
using GDI+, AGG, G32 or ImageEn is arbitrary as long as it's
efficient.

"Mr. X" <mail (AT) no (DOT) spam> wrote

Quote:
Hi
what kind of GDI+ calls are you looking for ? let me know the
details if i
can help you ,,,,
http://www.xpressionlab.com/contact.htm



Back to top
ne_one
Guest





PostPosted: Thu Sep 30, 2004 7:02 pm    Post subject: Re: Rendering metafiles using GDI+ Reply with quote

Thanks for the tip -- I'll take a look.

"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote

Quote:
Gnostice seems to be able to convert WMF files to individual drawing
commands, but then in PDF. It would be a small step to convert to
GDI+
instead of PDF. Try contacting them.

Nils Haeck
www.simdesign.nl



Back to top
Mark Finkle
Guest





PostPosted: Fri Oct 01, 2004 5:09 am    Post subject: Re: Rendering metafiles using GDI+ Reply with quote

I had the same problem. In addition to primitives, I also wanted the text to
be antialiased. I saw the same kind of posts about converting the metafile
records to EMF+ records. In the end, I found the simply rendering the
metafile onto a GDI+ metafile did the trick for the font stuff. It may also
work for the primitives as well.

I just made sure that I set the proper antialiasing settings on the Graphics
object that was wrapping the GDI+ metafile.

Mark Finkle

"ne_one" <ne_one (AT) hotmail (DOT) com> wrote

Quote:
I've come across a number of queries from people asking about
anti-aliased rendering of WMF/EMF files using GDI+. The consensus
seems to be that this can be achieved by resampling or enumerating all
of the GDI calls and converting them to their equivalent. The latter
approach would better suit our needs because we would like to retain
the constructs.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.