Jeff Young
1a7cef2950
Improve performance, commenting and API of some polygon classes.
2019-07-14 10:39:38 +01:00
jean-pierre charras
19de0ae55d
remove a printf used for debug.
2019-06-13 14:07:34 +02:00
jean-pierre charras
a41ff7b924
pl_editor: fix move functions for WS_DRAW_ITEM_POLYPOLYGONS
2019-06-13 14:02:18 +02:00
jean-pierre charras
b9eb627bc3
Remove a trace used for debug.
2019-06-13 13:35:28 +02:00
jean-pierre charras
f135ec47fa
Page layout: rework and fix a few issues.
...
* rename WS_DRAW_ITEM_POLYGON to WS_DRAW_ITEM_POLYPOLYGONS (better name)
* use SHAPE_POLY_SET instead of std::vector(<wxPoint> to manage the set of polygons.
It also remove duplicate code related to HitTest and bounding box.
* fix HitTest and WS_DRAW_ITEM_POLYGON highlight.
2019-06-13 13:23:39 +02:00
jean-pierre charras
dfbe02c8c2
pl_editor: show the page limits and the coord reference corner position.
2019-06-07 12:42:28 +02:00
jean-pierre charras
ce9b1e3da5
Pl_editor: add missing HitTest() for WS_DRAW_ITEM_BITMAP item.
2019-06-06 11:13:10 +02:00
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
2019-05-31 21:54:22 +01:00
Jeff Young
248089c934
Get rid of PageLayout globals so drawing the preview doesn't mess up the document.
2019-05-27 11:55:58 +01:00
Jeff Young
bdd44ce88c
Use consistent PageLayout data structure names.
2019-05-27 11:55:58 +01:00
Jeff Young
ba4ba5b668
Implementing boundingbox getters for WS_DRAW_ITEMs.
2019-05-24 21:23:26 +01:00
Jeff Young
71f188f3de
Hook up import-page-layout and change-background-color actions.
2019-05-24 19:49:10 +01:00
Jeff Young
323bb0f8e1
Moving PageLayout editor to GAL canvas and modern toolset.
2019-05-24 19:49:09 +01:00