8 changed files with 1220 additions and 6 deletions
File diff suppressed because it is too large
@ -0,0 +1,13 @@ |
|||
using Perspex.Platform; |
|||
|
|||
namespace Perspex.RenderHelpers |
|||
{ |
|||
static class QuadBezierHelper |
|||
{ |
|||
public static void QuadTo(IStreamGeometryContextImpl context, Point current, Point controlPoint, Point endPoint) |
|||
{ |
|||
//(s, (s + 2c)/ 3, (e + 2c)/ 3, e)
|
|||
context.BezierTo((current + 2*controlPoint)/3, (endPoint + 2*controlPoint)/3, endPoint); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue