20 Commits

Author SHA1 Message Date
Arjan Molenaar
42cb56ce41 Canvas no longer forwards Connections methods 2020-11-03 09:11:14 +01:00
Arjan Molenaar
9ea1407955 Provide connection to lines 2020-11-01 22:43:58 +01:00
Arjan Molenaar
7594c1da87 Partially move matrix recalculation to GtkView 2020-10-24 21:45:03 +02:00
Arjan Molenaar
4e5d83ab96 Remove Item.canvas as public field
Canvas field is still set, though.
2020-10-23 21:59:13 +02:00
Arjan Molenaar
1709cebee5 Remove canvas from port.constraint() 2020-10-23 18:22:30 +02:00
Arjan Molenaar
b281b1fcdd Merge branch 'separate-view-selection' 2020-10-23 18:01:11 +02:00
Arjan Molenaar
64250fe077 Move Connection management to a separate module 2020-10-21 21:50:48 +02:00
Arjan Molenaar
b37fc45886 Move examples out of the main library 2020-10-21 15:26:30 +02:00
Arjan Molenaar
3128bbf129 Matrix now produces only Matrix instances
Can do an explicit "cast" to cairo matrix.
2020-10-20 09:10:09 +02:00
Arjan Molenaar
891e86cbf2 Matrix can no longer be set
Only use methods to modify matrix.
2020-10-20 07:41:39 +02:00
Arjan Molenaar
ca9a0ae445 Remove Projection and friends
If you need to map coordinates from one system to another, use a
MatrixProjection with the correct mapping matrix.
2020-10-20 07:41:39 +02:00
Arjan Molenaar
9bf219d88e Remove canvas-to-item matrix caching 2020-10-12 22:26:06 +02:00
Dan Yeaw
bdd954c2c5
Enable docformatter pre-commit hook
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-09-15 20:23:50 -04:00
Dan Yeaw
414d9e6f53
Fix flake8 F841 for unused local variables
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-18 21:31:50 -04:00
Dan Yeaw
ef0c9562ad
Sort imports
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-18 21:16:39 -04:00
Arjan Molenaar
422d561955 Remove variable sharing hack from Position
Now, resolve it with constraints.
2020-05-22 23:31:29 +02:00
Arjan Molenaar
68829b2e30 Fix deprecation warnings in tests 2019-05-23 22:15:37 +02:00
Dan Yeaw
5fda568c24
Restructure project, moved tests and docs
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-12-25 13:30:43 -05:00
Dan Yeaw
8fcd723f64
Revert "Restructure project to match modern standard"
This reverts commit ea298141

Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-12-25 13:20:00 -05:00
Dan Yeaw
ea298141fc
Restructure project to match modern standard, move docs and tests
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-12-25 12:01:33 -05:00