No subject


Wed Aug 1 07:28:53 PDT 2012


"the path has a single subpath are four points, with coordinates (x, y), (x+w, y), (x+w, y+h), and (x, y+h), connected to each other in that order by straight lines"

Emphasis on: "in that order"

This means that if w is negative xor y is negative, then the vertices should be drawn in counter clockwise order. This has an effect on how line dashes are drawn.  This is currently broken because CanvasRenderingContext2D::strokeRect calls validateRectForCanvas, which normalizes the rectangle to make w and h positive.

When fixing the, care must be taken not to regress any of the graphics ports.  The skia port of GraphicsContext is capable of handling negative w/h, haven't looked at the others yet.

-- 
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