Parameters
- p
- A
PointF
in document coordinates. - obj
- the object being dragged if SnapDragWhole is true; may be null/nothing
Return Value
A
PointF
point in document coordinates, adjusted according to value of SnapCellSpot. When obj is not null, the returned point is also adjusted to try to include the whole object within the grid. If that object cannot fit in the grid because it is too wide and/or too tall, the GoObject.Location of the object, if along one of the four edges of the object, determines which side(s) stay within the bounds of the grid.