Re: Simplest way to draw a circle, similar to addRect

2024-11-27 Thread Peter Murray-Rust
Some commercial drawing tools approximate a circle by 4 Bezier Curves (quadrants) . See https://stackoverflow.com/questions/1734745/how-to-create-circle-with-b%C3%A9zier-curves . On Wed, Nov 27, 2024 at 8:22 AM Ulf Dittmer wrote: > I haven't tried this myself, but it sounds as if > https://gith

Re: Simplest way to draw a circle, similar to addRect

2024-11-27 Thread Ulf Dittmer
I haven't tried this myself, but it sounds as if https://github.com/rototor/pdfbox-graphics2d makes it possible to use Java's Graphics2D API to draw into a PDF created with PDFBox. Ulf On Tue, Nov 26, 2024 at 11:50 PM wrote: > Hello, > > If we want to draw a rectangle, this is quite easy using

Re: Simplest way to draw a circle, similar to addRect

2024-11-26 Thread Tilman Hausherr
No, sadly there is nothing "ready to use", there is this: https://stackoverflow.com/questions/40781610/how-to-draw-a-pie-chart-using-pdfbox Tilman On 26.11.2024 23:50, r.barc...@habmalnefrage.de.INVALID wrote: Hello, If we want to draw a rectangle, this is quite easy using addRect. What do yo