2 references to SnapVisualToGrid
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
60
Point startLocation =
SnapVisualToGrid
(this.StartSymbol, startPoint, new Point(-1, -1), false);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
1483
shapeLocation =
SnapVisualToGrid
(movedElement, newPoint, shapeAnchorPoint.Value, true);