[cairo] [RFC] cairo_path_extents()

Carl Worth cworth at cworth.org
Mon Jan 21 12:25:31 PST 2008

On Sun, 20 Jan 2008 03:36:44 +0000, Baz wrote:
> How's this?
> http://gitweb.freedesktop.org/?p=users/brianewins/cairo;a=shortlog;h=path-extents1

That looks pretty good. I fixed up some little things. There was a
missing slim_hidden_proto(cairo_path_extents) that breaks compilation
on my system, for example, as well as some dead code that wasn't quite
eliminated from the last couple of patches---certainly your cold must
be to blame for that, (I hope you're feeling better now, by the way).

I was just about to push what I've got, but I noticed that the
get-path-extents test is failing. I assume it's working for you? Or
was there perhaps just a typo in entering some of the expected values?

I'll look closer now, but here's what I'm getting:

Testing get-path-extents with image target (dev offset 0)
Error: Text; path extents (0.000000, 0.000000) x (288.000000,
13.000000) should equal (0.000000, 0.000000) x (286.000000, 13.000000)
Testing get-path-extents with ps target (dev offset 0)
Error: Text; path extents (0.000000, 0.000000) x (283.126953,
11.625000) should equal (0.000000, 0.000000) x (281.828125, 11.625000)

And several similar things, obviously.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080121/d4f9a6e5/attachment.pgp 

More information about the cairo mailing list