Bezier curve with matching start/end and control points is not rendered correctly
igagis@gmail.com
Submitted byAssigned to Chris Wilson @ickle
Link to original bug (#101763)
Description
Created attachment 132628 cairo_rel_curve_to(cr, 100, 100, 100, 100, 0, 0)
Trying to render the bezier curve which has the end point same as start point and both control points are also matching, for example:
cairo_move_to(cr, 100, 100);
cairo_rel_curve_to(cr, 100, 100, 100, 100, 0, 0);
Results in wrong image.
Expected result: For the example above, I would expect a 45 degrees diagonal line is drawn.
Actual result: A dot at the current point location is drawn.
Note, that if make control points slightly differ the line is drawn.
See attachments for:
- cairo_rel_curve_to(cr, 100, 100, 100, 100, 0, 0);
- cairo_rel_curve_to(cr, 100, 100, 101, 100, 0, 0);
Attachment 132628, "cairo_rel_curve_to(cr, 100, 100, 100, 100, 0, 0)":