 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ne_one Guest
|
Posted: Wed Sep 29, 2004 5:38 pm Post subject: Rendering metafiles using GDI+ |
|
|
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
|
Posted: Thu Sep 30, 2004 5:53 am Post subject: Re: Rendering metafiles using GDI+ |
|
|
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
|
Posted: Thu Sep 30, 2004 9:33 am Post subject: Re: Rendering metafiles using GDI+ |
|
|
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
|
Posted: Thu Sep 30, 2004 7:02 pm Post subject: Re: Rendering metafiles using GDI+ |
|
|
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
|
|
| Back to top |
|
 |
ne_one Guest
|
Posted: Thu Sep 30, 2004 7:02 pm Post subject: Re: Rendering metafiles using GDI+ |
|
|
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
|
Posted: Fri Oct 01, 2004 5:09 am Post subject: Re: Rendering metafiles using GDI+ |
|
|
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 |
|
 |
|
|
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
|
|