summaryrefslogtreecommitdiffstats
path: root/src/sp-mesh-array.h
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
committerJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
commitb25ebda10578c5d697db9716e3c2b70950d33e45 (patch)
tree4635b8b3f65600cfd54b5465b906ae42165b0674 /src/sp-mesh-array.h
parentFix some bugs (diff)
parentfix nodes reverting back during editing (diff)
downloadinkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.tar.gz
inkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.zip
fixing to new trunk
(bzr r15142.1.38)
Diffstat (limited to 'src/sp-mesh-array.h')
-rw-r--r--src/sp-mesh-array.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-mesh-array.h b/src/sp-mesh-array.h
index 2ba1bfd5d..df43638db 100644
--- a/src/sp-mesh-array.h
+++ b/src/sp-mesh-array.h
@@ -76,7 +76,8 @@ enum MeshCornerOperation {
MG_CORNER_SIDE_ARC,
MG_CORNER_TENSOR_TOGGLE,
MG_CORNER_COLOR_SMOOTH,
- MG_CORNER_COLOR_PICK
+ MG_CORNER_COLOR_PICK,
+ MG_CORNER_INSERT
};
enum MeshNodeOperation {
@@ -192,6 +193,7 @@ public:
unsigned int tensor_toggle( std::vector< unsigned int > );
unsigned int color_smooth( std::vector< unsigned int > );
unsigned int color_pick( std::vector< unsigned int >, SPItem* );
+ unsigned int insert( std::vector< unsigned int > );
// Update other nodes in response to a node move.
void update_handles( unsigned int corner, std::vector< unsigned int > selected_corners, Geom::Point old_p, MeshNodeOperation op );
@@ -202,6 +204,9 @@ public:
// Transform array
void transform(Geom::Affine const &m);
+ // Transform mesh to fill box. Return true if not identity transform.
+ bool fill_box(Geom::OptRect &box);
+
// Find bounding box
// Geom::OptRect findBoundingBox();