Commit Graph

12 Commits

Author SHA1 Message Date
Robin Dunn
7d7c66920d A little cleanup 2019-09-04 14:30:35 -07:00
Robin Dunn
8d6729ae52 GDI+ backend now mostly works okay with the gradient matrix 2019-09-04 14:30:35 -07:00
Robin Dunn
65f5485f16 Use a list for renderers without gradient transform support (so far) 2019-09-04 14:30:22 -07:00
Robin Dunn
57b0ff0408 Transforms on the GDI+ gradients don't work (yet?) so translate the points ourselves. It won't look right for anything but simple transforms, but it will at least look a little like what was intended. Maybe. 2019-09-04 14:30:00 -07:00
Robin Dunn
cb8263bcb4 fix typo in comment 2019-09-04 14:30:00 -07:00
Robin Dunn
424b919b2e Use the gradient transforms and normalized coordinants 2019-09-04 14:29:31 -07:00
Robin Dunn
9e78437974 begin support for gradient pens 2019-09-04 14:28:51 -07:00
Robin Dunn
98410a0742 We need to set the start and stop colors on the gradients. That's what
causes it to fill the areas before the start and after the end of the gradient.
2019-09-04 14:28:09 -07:00
Robin Dunn
8d37c9119f Add RasteriseToBitmap 2019-09-04 14:28:09 -07:00
Robin Dunn
cd6715a254 Move RenderToGC to SVGimage 2019-09-04 14:28:09 -07:00
Robin Dunn
94b98f968e Rename SVGimage to SVGimageBase, so SVGimage can be pure python and in the __init__.py file 2019-09-04 14:28:09 -07:00
Robin Dunn
b6e414b275 Add WIP wrappers for nanosvg into the wx.svg package 2019-09-04 14:28:08 -07:00