Support pen and brush styles in wxSVGGraphicsContext (PR #26586)

20 views
Skip to first unread message

Maarten

unread,
Jun 13, 2026, 4:39:17 PM (10 days ago) Jun 13
to wx-...@googlegroups.com, Subscribed

Enable saving as SVG in the drawing sample using graphics context, and enable saving the graphics page as SVG.

Add missing pen and brush styles that wxSVGFileDC does support but wxSVGGraphicsContext did not.
Prevent SVG patterns with the same ID from being added multiple times, which would not pass SVG validation.

Fix wxOverlayDC in the drawing sample when wxGraphicsContext is disabled.

@Blake-Madden If possible, please check I didn't break anything. Thanks!


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26586

Commit Summary

  • 8d7c1c6 Fix setting overlay opacity when wxGC is disabled
  • 8746823 Fix overlay in drawing sample when wxGC is disabled
  • 89d1921 Enable saving SVG for graphics context page in drawing sample
  • 8bf3e15 Support pen and brush styles in wxSVGGraphicsContext

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26586@github.com>

VZ

unread,
Jun 13, 2026, 5:07:36 PM (10 days ago) Jun 13
to wx-...@googlegroups.com, Subscribed

@vadz approved this pull request.

This looks good to me, FWIW, thanks!


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26586/review/4492036754@github.com>

VZ

unread,
Jun 22, 2026, 8:44:48 AM (2 days ago) Jun 22
to wx-...@googlegroups.com, Subscribed

Merged #26586 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26586/issue_event/27041530009@github.com>

Reply all
Reply to author
Forward
0 new messages