private bool IsPointOnArc(GenericPostureCircle circle, PointF point, IImageToViewportTransformer transformer)
 {
     using (GraphicsPath path = new GraphicsPath())
     {
         PointF center = circle.Center >= 0 ? genericPosture.PointList[circle.Center] : GetUntransformedComputedPoint(circle.Center);
         path.AddArc(center.Box(circle.Radius), 0, 360);
         return(HitTester.HitTest(path, point, circle.Width, false, transformer));
     }
 }
 private bool IsPointInsideCircle(GenericPostureCircle circle, PointF point, IImageToViewportTransformer transformer)
 {
     using (GraphicsPath path = new GraphicsPath())
     {
         PointF center = circle.Center >= 0 ? genericPosture.PointList[circle.Center] : GetUntransformedComputedPoint(circle.Center);
         path.AddEllipse(center.Box(circle.Radius));
         return(HitTester.HitTest(path, point, 0, true, transformer));
     }
 }