SkiaSharp
SkiaSharp copied to clipboard
skpath.arcto svg method wont draw arc where start and and ponts are the same
this method SkiaApi.sk_path_arc_to(this.Handle, rx, ry, xAxisRotate, largeArc, sweep, x, y);
has a problem as per title.
this wont work.
path.MoveTo( new SKPoint( 68.404f, 187.938f ) );
path.ArcTo( 100.0f, 200.0f, 160.0f, SKPathArcSize.Large, SKPathDirection.Clockwise, 68.404f, 187.938f );
but modifying the end point by 0.0005 in x and y seems to work for some reason as per
path.MoveTo( new SKPoint( 68.404f, 187.938f ) );
path.ArcTo( 100.0f, 200.0f, 160.0f, SKPathArcSize.Large, SKPathDirection.Clockwise, 68.4045f, 187.9385f );