locked
Bad quality of drawn metafiles RRS feed

  • Question

  • Hi,

    I'm working under .NET Framework 1.1. It is known that anti-aliasing is not supported when drawing metafiles using Graphics or converting them to bitmaps. I would really want to avoid writing my own class which plays metafiles records with anti-aliasing turned on - afaik EmfPlusPlayRecord is the largest enumeration in .NET  Could anyone point me to some ready source code over the Intermet? I'm sure it does present somewhere since the quality of the rendered metafiles just cannot be stated applicable... It's preferrable the code is in C# but that's not the restriction... Porting code is an annoying thing in general but it's much easier than writing such the code from scratch.

    Friday, February 3, 2006 12:48 PM

All replies

  • I've had this problem for couple years and was never able to resolve it.
    I've asked at numerous newsgroups and no answer.
    If you do find something, please let me know!!!

    MS Word seems to be drawing anti-aliased wmfs, so it must be possible.

    Friday, February 3, 2006 8:46 PM
  • There is an open source C library called libwmf. However, it's too big to be simply ported to .NET projects. It is only useful to explore and consider different approaches used there. I've started implementing my own WMF processing code. Can't see other solutions.
    Tuesday, February 14, 2006 5:02 PM