mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-10 08:40:00 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user