By calling GetGraphicsContext() on a wxSVGFileDC, you can now access a wxSVGGraphicsContext (derived from wxGraphicsContext) which supports:
wxGraphicsPathBasically, the wxSVGGraphicsContext* writes to its parent wxSVGFileDC's SVG buffer as you issue drawing commands to it.
I added a demonstration to the SVG sample (basic stuff, but shows off the features).
The following images are of my output SVG. I'm able to get some nice effects, such as a sunflower:
image.png (view on web)Or a Chernoff face:
image.png (view on web)I believe the full graphics context API is available in here now (at least the parts that are analogous to SVG).
https://github.com/wxWidgets/wxWidgets/pull/26395
(18 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@Blake-Madden pushed 2 commits.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@Blake-Madden pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()