Commit Graph

4283 Commits

Author SHA1 Message Date
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
aa6c0a6661 Add simple a method to get the name of the ++ GraphicsRenderer class 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
0e95ec1348 update cairo-msw to version 1.15.12 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
0ddc262ee5 Some tweaks for PenInfo and GraphicsPenInfo wrappers 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
1120ca212b A few docstring tweaks 2019-09-04 14:28:09 -07:00
Robin Dunn
7633078b23 f-strings not available in 2.7 2019-09-04 14:28:09 -07:00
Robin Dunn
c93463527b Switch to my own branch in nanosvg 2019-09-04 14:28:09 -07:00
Robin Dunn
b9e804bdd4 More radial gradient experimenting 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
ce4a4d96d8 more tweaking around with radial gradients 2019-09-04 14:28:09 -07:00
Robin Dunn
68357daec7 more radial gradient tweaks 2019-09-04 14:28:09 -07:00
Robin Dunn
b4e40843d5 working on radial gradients 2019-09-04 14:28:09 -07:00
Robin Dunn
13796f88c1 Add method to transform and fetch the start and stop points for linear gradients 2019-09-04 14:28:09 -07:00
Robin Dunn
efd8d48b42 Add color_rgba helper for gradient stops 2019-09-04 14:28:09 -07:00
Robin Dunn
f0a0f8a65c Add rasterization methods 2019-09-04 14:28:09 -07:00
Robin Dunn
ce2046549d Add color_rgba, points, some __repr__s and other tweaks 2019-09-04 14:28:09 -07:00
Robin Dunn
a5bd9f39a8 restore original char* parameter 2019-09-04 14:28:09 -07:00
Robin Dunn
fc590e69f5 fiddle with buffer options 2019-09-04 14:28:09 -07:00
Robin Dunn
e7ebf2024e rearrange things and a few minor tweaks 2019-09-04 14:28:08 -07:00
Robin Dunn
be6e6a4ea7 cleanup and tweaks in setup-wxsvg.py 2019-09-04 14:28:08 -07:00
Robin Dunn
76937dca90 Exclude source files in wx/svg from being added to bdists 2019-09-04 14:28:08 -07:00
Robin Dunn
1df2811e9e Update docstring 2019-09-04 14:28:08 -07:00
Robin Dunn
ff7f9c7fcc Enable building without cython 2019-09-04 14:28:08 -07:00
Robin Dunn
32f1e4219e Add build commands and other support for wx.svg 2019-09-04 14:28:08 -07:00
Robin Dunn
b6e414b275 Add WIP wrappers for nanosvg into the wx.svg package 2019-09-04 14:28:08 -07:00
Robin Dunn
ba33f43445 Add submodule for nanosvg 2019-09-04 14:28:08 -07:00
Robin Dunn
3bce916e34 Update wxWidgets, add wxDPIChangedEvent, adapt to some propgrid api changes 2019-09-04 14:18:12 -07:00
Robin Dunn
34521dc10d Fix static text showing font filename 2019-08-26 20:51:41 -07:00
Robin Dunn
81d331b864 docstring tweaks 2019-08-26 20:51:16 -07:00
Robin Dunn
0cb8297700 Merge pull request #1333 from wxWidgets/fix-issue1331
Ensure setup.h was found before trying to open it
2019-08-21 19:16:20 -07:00
Robin Dunn
f2d1890bd5 Merge pull request #1330 from wxWidgets/fix-issue1328
fix typo in auibar docstring
2019-08-21 19:15:59 -07:00
Robin Dunn
10cd50b68d Ensure setup.h was found before trying to open it 2019-08-21 16:46:26 -07:00
Robin Dunn
8a5df76dba fix typo 2019-08-20 11:53:19 -07:00
Robin Dunn
4a6d2f467c fix typo 2019-08-16 13:57:30 -07:00
Robin Dunn
142e0143d3 Merge pull request #1326 from wxWidgets/mesalu-fix_clean-all
Update build.py
2019-08-15 22:02:59 -07:00
Mesalu
530ecbc4b9 Update build.py
Call `cmd_clean_docker` in `cmd_cleanall` instead of `cmd_clean_vagrant`
2019-08-15 18:19:22 -07:00
Robin Dunn
b430a16ec3 Ensure sip knows that wxLog has a default ctor and a dtor 2019-08-13 15:25:40 -07:00
Robin Dunn
1fa31ac042 Catch wx.EVT_SEARCHCTRL_SEARCH_BTN 2019-08-13 15:24:56 -07:00
Robin Dunn
cae89a5df8 PGLongStringDialogAdapter is gone 2019-08-07 12:41:57 -07:00
Robin Dunn
b7cf3fbe03 PGFileDialogAdapteris gone 2019-08-03 14:22:43 -07:00
Robin Dunn
f7ff075f45 Various fixes and tweaks to go with the wxWidgets update 2019-07-31 12:20:00 -07:00
Robin Dunn
d9e8f44698 Update to current wxWidgets master 2019-07-31 08:47:00 -07:00
Robin Dunn
1f5fe1e398 Fix stray backtick 2019-07-24 22:00:11 -07:00
Robin Dunn
773d8a83d9 Merge pull request #1312 from driscollis/patch-4
Fix typo in wx.StaticBoxSixer
2019-07-24 20:55:57 -07:00