Ejemplo n.º 1
0
 public ArcSegment getArc(SKPoint move, float scale, float rot)
 {
     return(new ArcSegment(Transformations.GetTransformed(Start, move, scale, rot),
                           Transformations.GetTransformed(End, move, scale, rot),
                           Transformations.GetTransformed(CenterAbs, move, scale, rot), ClockWise));
 }
Ejemplo n.º 2
0
 public SKPoint CanvasToBoard(float x, float y)
 {
     return(Transformations.InvertXY(new SKPoint((x - BottomRight.X) / -Scale, (y - BottomRight.Y) / -Scale)));
 }
Ejemplo n.º 3
0
 public LineSegment getLine(SKPoint move, float scale, float rot)
 {
     return(new LineSegment(Transformations.GetTransformed(Start, move, scale, rot),
                            Transformations.GetTransformed(End, move, scale, rot)));
 }