tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

Path not able to draw arcs (bad interpretation of A in d) #587

Open wptechnology opened 1 year ago

wptechnology commented 1 year ago

I tried to draw a filled arc, which result is definitely not what expected. The syntax used is : <path style="fill:#a52f6d;" d="M200,200 L200,104 A96,96 0 0,1 267.88225099390854,132.11774900609146 Z"></path> It should show something like this (in a barbie world where also stroke-dasharray should work) : Capture d’écran 2023-01-24 à 01 10 18 But the result is that : Capture d’écran 2023-01-24 à 01 11 10