From c4f30a1eba8b5e9e4470a99f95765c78e68f6230 Mon Sep 17 00:00:00 2001 From: Robin Dunn <> Date: Wed, 14 Aug 2019 16:00:25 -0700 Subject: [PATCH] Docstring tweaks --- wx/svg/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wx/svg/__init__.py b/wx/svg/__init__.py index 94a74c58..c9085765 100644 --- a/wx/svg/__init__.py +++ b/wx/svg/__init__.py @@ -46,10 +46,11 @@ Since it is drawing the SVG shapes and paths using the equivalent GC primitives then any existing transformations that may be active on the context will be applied automatically to the SVG shapes. -Note that not all GraphicsContext back-ends are created equal. Specifically, the +Note that not all GraphicsContext backends are created equal. Specifically, the GDI+ backend (the default on Windows) simply can not support some features that are commonly used in SVG images, such as applying transforms to gradients. The -Direct2D backend on Windows does much better. +Direct2D backend on Windows does much better, and the Cairo backend is very +good. Example 2 --------- @@ -359,7 +360,7 @@ class SVGimage(SVGimageBase): def _chunker(iterable, n, fillvalue=None): - "Collect items from an interable into fixed-length chunks or blocks" + "Collect items from an iterable into fixed-length chunks or blocks" args = [iter(iterable)] * n return zip_longest(fillvalue=fillvalue, *args)