[cairo-bugs] [Bug 101763] New: Bezier curve with matching start/end and control points is not rendered correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 12 10:07:02 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101763

            Bug ID: 101763
           Summary: Bezier curve with matching start/end and control
                    points is not rendered correctly
           Product: cairo
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: igagis at gmail.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 132628
  --> https://bugs.freedesktop.org/attachment.cgi?id=132628&action=edit
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:
1) cairo_rel_curve_to(cr, 100, 100, 100, 100, 0, 0);
2) cairo_rel_curve_to(cr, 100, 100, 101, 100, 0, 0);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20170712/8b43b8a9/attachment.html>


More information about the cairo-bugs mailing list