You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is a missing parameter in D2DGraphics.DrawBeziers - first curve starting point. The D2DBezierSegment contains only two control points and end path point (while you need 4 points for cubic bezier). You use the first control point also as a first main point of cubic bezier:
context->factory->CreatePathGeometry(&path);
path->Open(&sink);
//sink->SetFillMode(D2D1_FILL_MODE_WINDING);
sink->BeginFigure(bezierSegments[0].point1, D2D1_FIGURE_BEGIN_FILLED); //error - here you should add additional parameter as starting point
The text was updated successfully, but these errors were encountered:
I believe there is a missing parameter in D2DGraphics.DrawBeziers - first curve starting point. The D2DBezierSegment contains only two control points and end path point (while you need 4 points for cubic bezier). You use the first control point also as a first main point of cubic bezier:
The text was updated successfully, but these errors were encountered: