Hi Geert,
What sort of vector graphics did you have in mind? JUCE has considerable support in this area; I only use vector graphics for my GUIs.
You can certainly draw simple shapes in paint() using the built-in graphics calls, such as g.drawEllipse or g.fillRoundedRectangle. The next level up is using Path objects to combine various shapes into one and/or draw polygons with an arbitrary number of vertices, which also works really well. For anything particularly elaborate I tend to use SVG assets (typically as BinaryData), loading and positioning them as desired. There are a few threads about tips and tricks for doing this kind of thing on the forum; here is one such example:
I hope I’ve understood your request. If not, please could you clarify what you’re trying to do a little more? ![]()
