You are not logged in.
Pages: 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
Offline
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
Offline
Pages: 1