[cairo-bugs] [Bug 100703] New: stroke-miterlimit is operating in device space

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 17 23:01:38 UTC 2017


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

            Bug ID: 100703
           Summary: stroke-miterlimit is operating in device space
           Product: cairo
           Version: 1.12.16
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: image backend
          Assignee: chris at chris-wilson.co.uk
          Reporter: aidankane at gmail.com
        QA Contact: cairo-bugs at cairographics.org

When applying the stroke-miterlimit, cairo is using the slopes of the lines
after transformations are applied to figure out when to switch to bevel.

I've patched this in cairo-path-stroke-polygon.c to fix it and to make it
consistent with the way cairo-path-stroke-traps.c, cairo-path-stroke-tristrip.c
and cairo-path-stroke.c all do it.

Finally, I'm a) not a C guy and b) don't really know the cairo code so forgive
me if any of this is off the mark!

I've attached an example with the bottom 2 line un-transformed, and the top 2
being squashed.

-- 
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/20170417/ae1385dc/attachment.html>


More information about the cairo-bugs mailing list