Commit Graph

42 Commits

Author SHA1 Message Date
Frank Vernaillen
6d24a91990 Fixed bug with image getting rescaled to zero width and height. 2018-10-23 14:41:40 +02:00
Christopher H.Barker, PhD
09223c530f added float() calls to get the proper divison when scaling bitmaps
In response to a note from Kevin Gregory:

""
Sorry to email you directly, I wanted to submit a bugfix for FloatCanvas ScaledBitmap. It changes the bmpWidth and bmpHeight from integers to floats so that the scale is computed correctly.
FCObjects.py line 2141 from the wxpython phoenix dev build
"""
2017-04-13 11:17:36 -07:00
Metallicow
546d770ddb Trim Whitespace floatcanvas directory 2016-10-12 22:38:31 -05:00
Robin Dunn
07164aba1a Merge pull request #110 from RobinD42/use-pytest
Use pytest for running unittests
2016-07-07 21:38:56 -07:00
Robin Dunn
1d1fc7c187 More docstring ref fixes in wx.lib 2016-07-07 09:58:04 -07:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -07:00
Robin Dunn
488f29b05a Fix docstring references to wx.Bitmap 2016-07-06 18:45:16 -07:00
Robin Dunn
4175d35105 Fix docstring references to wx.Colour 2016-07-06 18:40:04 -07:00
Robin Dunn
b8138a2a2f Fix imports in some tests and in floatcanvas 2016-07-01 01:45:53 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Scott Talbert
ee745fb7b3 Remove shebang from non-executable files - fixes rpmlint errors 2016-06-03 21:38:07 -04:00
Douglas Thor
f024e60255 Updated FCObjects
Updated FCObjects so that Group() creates a bounding box before attempting to add objects.
2016-03-21 13:13:47 -07:00
wernerfb
8304c859f8 - mouse move would sometime fire HitTest and cause an exception
- add the keepPointInPlace to Zoom, another change to SVN which did not make it to Phoenix
2015-09-21 17:40:25 +02:00
wernerfb
129b846066 - missed in previous commit 2015-09-21 16:37:58 +02:00
wernerfb
7100d73ec5 - missed change from SVN, _cycleidsx changes and AddObject stuff 2015-09-21 16:15:09 +02:00
wernerfb
8f8c253972 - just a spelling error 2015-09-21 15:56:10 +02:00
wernerfb
52c13a674e - missed change from SVN, zoom mixin 2015-09-21 15:48:56 +02:00
wernerfb
f8378c683a - next is a built-in function in Py3 2015-09-16 10:29:48 +02:00
wernerfb
2139fbab55 - move Group class to FCObjects 2015-09-16 10:24:42 +02:00
wernerfb
0b98209d36 fix a few Sphinx warnings 2015-04-14 17:15:52 +02:00
Werner F Bruhin
d548a5b310 - if it is not called in FCObjects we need to call it here 2015-02-11 14:45:18 +01:00
Werner F Bruhin
59f43fd818 - the crash cause for Sphinx build 2015-02-11 14:27:17 +01:00
Werner F Bruhin
384af619b5 - format changes to doc
- commented or removed a few print statements
2015-02-11 14:05:06 +01:00
Werner F Bruhin
871241c66b - refactor of FloatCanvas package, unittest and demo run on Py27 and Py33 2014-06-05 11:09:18 +02:00
Werner F Bruhin
4a46798fde - add module doc and flags 2014-06-03 15:19:56 +02:00
Werner F Bruhin
ca162ee926 - a few Py3 changes
- add tags
2014-05-26 12:58:45 +02:00
Andrea Gavana
a2b514bf53 Phoenix docs: fix floatcanvas/FloatCanvas.py docstrings to avoid Sphinx warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 13:14:42 +00:00
Robin Dunn
a9595b241a PR64: Various Phoenix and Py3 fixes for the demo and library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-28 04:48:21 +00:00
Robin Dunn
74ddaf3d64 Shuffle some FloatCanvas code around a little to avoid a circular import problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-28 03:57:37 +00:00
Robin Dunn
b0fa504d1d PR 41 from Metallicow. Pen and Brush style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:12:52 +00:00
Robin Dunn
6faf213a76 Change all <> to !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-01 04:23:33 +00:00
Robin Dunn
20dfedff42 Fix circular import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-08-10 20:54:22 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Robin Dunn
585f1a11cc Don't mess with the natural ImportError if numpy is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-07 06:50:49 +00:00
Robin Dunn
f047ff56eb Revert an unnecessary change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:55:57 +00:00
Robin Dunn
2e30a88173 Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:22 +00:00
Robin Dunn
803aace8ab Floatcanvas patch from Wenrer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:58:55 +00:00
Robin Dunn
a9f3859f3e Floatcanvas docs and test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:53:56 +00:00
Robin Dunn
1447c3d50a More FloatCanvas updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:24 +00:00
Robin Dunn
629403af5e fix indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:25 +00:00
Robin Dunn
e31baa0d8e Patch updating FloatCanvas for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:41:06 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00