#1 Re: GDI+ » Gdip.DrawAntiAliased draws lines un-anti-aliased » 2020-07-09 13:06:53

After some more testing I have the impression that the library does not use the improved code of GDIP but uses the fallback of the default Windows EMF renderer.

Could this be possible, any insight on how I might test this?

This is the code I use (In Delphi 10.3):

  Gdip := TGDIPlusFull.Create();
  MF := TMetaFile.Create;
  MF.Transparent := True;
  MF.LoadFromFile(EMFFilename);
  Bmp := Gdip.DrawAntiAliased(MF,100,100,smAntiAlias,trhAntiAlias);

Greetings,
Stefan

#2 GDI+ » Gdip.DrawAntiAliased draws lines un-anti-aliased » 2020-07-07 18:42:34

shmpg
Replies: 1

Using the function Gdip.DrawAntiAliased for an EMF file results in a rendering where lines are always drawn un-anti-aliased.

Additionally, whatever parameter I set for aTextRendering, text is always rendered anti-aliased.

Using the primitives to draw results in a good rendering.

Stefan

#3 Re: GDI+ » EMF -> EMF+ metafile conversion - how to save result. » 2020-07-07 08:32:24

Hi,

I would be interested very much on how this solutions looks.
Is it already documented somewhere?

Greeetings
Stefan

Board footer

Powered by FluxBB