Element editor: changed the way scaling operations get rounded.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2058 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2013-03-06 18:51:29 +00:00
parent 62a59f5341
commit 5af8573960
7 changed files with 112 additions and 18 deletions

View File

@@ -59,6 +59,13 @@ namespace QET {
ResizeFromBottomRightCorner = 7
};
/// Supported types of interactive scaling, typically for a single element primitive
enum ScalingMethod {
FreeScaling, ///< do not interfer with the default scaling process
SnapScalingPointToGrid, ///< snap the point used to define the new bounding rectangle to the grid
RoundScaleRatios ///< adjust the scaling movement so that the induced scaling ratios are rounded
};
/// Known kinds of conductor segments
enum ConductorSegmentType {
Horizontal = 1, ///< Horizontal segment