[cairo] Extents of degenerate paths
tor at cs.brown.edu
Thu May 10 10:12:12 PDT 2007
On 5/10/07 11:35 AM, Behdad Esfahbod wrote:
> Bill, you are more than welcome to come up with a backward-compatible
> proposal (like a new hairline mode, no abuse of line-width=0), with
> complete semantics of how it should work (for example, what happens if
> you draw a line from 0,0 to 0,10?. After that you need to find someone
> to implement it.
> Other than that, I don't think raising this issue again and again
> changes anything. Also I don't see any indication in T Rowley's message
> that he was trying to achieve hairlines.
While I do think that a hairline mode would be useful, in this case all
I wanted to do was measure the extent of a piece of geometry exclusive
of stroke properties. This is needed in SVG for object bounding box
units and DOM APIs.
More information about the cairo