#1 2022-02-17 10:43:43

DmitryBerin
Member
Registered: 2022-02-17
Posts: 1

Render Metafile created by TChart

Hello!
I have problem to render metafile created from TChart.
Filled areas are missing in PDF file, but other programs show metafile correctly

Render code:
FPdf.Canvas.StretchDraw(FRect, FMeta);

Metafile i want to render:
https://dropmefiles.com/AjOyy

i expect
Image-1.png

i get
Image-3.png

Thank you

Offline

#2 2022-02-17 12:51:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Render Metafile created by TChart

Such filled areas seems not supported yet.

Any feedback is welcome.

Offline

#3 2022-06-13 11:15:07

MtwStark
Member
From: Italy
Registered: 2016-01-05
Posts: 27

Re: Render Metafile created by TChart

DmitryBerin wrote:

Hello!
I have problem to render metafile created from TChart.
Filled areas are missing in PDF file, but other programs show metafile correctly

Metafile i want to render: https://dropmefiles.com/AjOyy

Your metafile is no longer accessible, can you repost it?

I had same problems using TChart, you can try my code PDFEngine Clipping Implementation + Output stream optimizations and see if it solves your problems.

Offline

Board footer

Powered by FluxBB