private void SetCoPoint(CoPoint sp) { _p = sp.P; // Transform CoPoint to ShapePoint using PosX, PosY and angle _p.Offset(-_shape.PosX, -_shape.PosY); }
private CoPoint GetCoPoint() { // Transform Shape point to CoPoint using PosX, PosY and angle Point p = RotatedPoint; p.Offset(_shape.PosX, _shape.PosY); CoPoint cop = new CoPoint(p, _shape.Parent); return(cop); }