[Webkit-unassigned] [Bug 61284] skia: fix stroking of zero-height rectangles
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 23 12:12:23 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61284
--- Comment #5 from Mike Reed <reed at google.com> 2011-05-23 12:12:23 PST ---
Ah, we need to respect the lineJoin: will add this
// we are expected to respect the lineJoin, so we can't just call
// drawLine -- we have to create a path that doubles back on itself.
SkPath path;
path.moveTo(r.fLeft, r.fTop);
path.lineTo(r.fRight, r.fBottom);
path.close();
canvas->drawPath(path, paint);
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list