[cairo] Howto compile code accessing cairo's internal headers?

Clemens Eisserer linuxhippy at gmail.com
Sat Jul 11 04:02:32 PDT 2009


Hi Behdad,

>> The functionality I need isn't supported by the public API, so no way
>> arround that ;)
>
> Maybe you can at least tell us what it is that is missing?

1. I am only interested in the trapezoids generated by the tesselator,
and as far as I've seen there's no way to get access to those using
the public api.

2. I plan to pass the geometry information (line_to, move_to, ...)
from another language (java) which has some overhead calling C code.
Not much (about 20-60 cycles) but it adds over all the small function
calls.
So I would like to fill the path buffer myself (cairo_path_buf_t )
directly, without caling into C code, and then with a single call to
cairo retrieve the trapezoid list.
I guess that stuff will _never_ be supported ;)

- Clemens


More information about the cairo mailing list