#1 2025-03-14 14:10:00

Mvz
Member
Registered: 2025-03-07
Posts: 1

Does SynPdf support drawing polygons with brushes with Bitmaps ?

Seems that rendering via a Metafile , my polygons are either completely white or black,
iso a repeating bitmap, when i drawed the polygons to the metafile using a brush with a bitmap.

When i save the EMF to a file, other applications (like Paint) seem to render the background correctly.

Offline

#2 2025-03-17 09:09:36

rvk
Member
Registered: 2022-04-14
Posts: 125

Re: Does SynPdf support drawing polygons with brushes with Bitmaps ?

The metafile renderer is (probably) still not complete.
See this post: https://synopse.info/forum/viewtopic.php?pid=1549#p1549

It might also depend on what source you are using. The latest SynPDF is in mORMot2 (mormot.ui.pdf.pas). If you are still using the older SynPDF sources, that one isn't updated anymore.

Either way... without any example EMF file we can't even begin to look at the problem.

Offline

Board footer

Powered by FluxBB