GoXam for WPF v3
ComputeResize Method
Northwoods.GoXam.Tool Namespace > ResizingTool Class : ComputeResize Method
a Point in model coordinates
The Northwoods.GoXam.Spot in the rectangular bounds for which the Handle is being dragged
the computed rectangle must be at least as large as these dimensions
the computed rectangle must be no larger than these dimensions
whether the aspect ratio of the rectangle may change
Given a Spot in the OriginalBounds and a new Point, compute the new Rect.
Syntax
protected virtual Rect ComputeResize( 
   Point newPoint,
   Spot spot,
   Size min,
   Size max,
   bool reshape
)

Parameters

newPoint
a Point in model coordinates
spot
The Northwoods.GoXam.Spot in the rectangular bounds for which the Handle is being dragged
min
the computed rectangle must be at least as large as these dimensions
max
the computed rectangle must be no larger than these dimensions
reshape
whether the aspect ratio of the rectangle may change
See Also

Reference

ResizingTool Class
ResizingTool Members