[cairo] Mesh gradients

Andrea Canciani ranma42 at gmail.com
Thu Dec 30 02:38:17 PST 2010


On Thu, Dec 30, 2010 at 10:46 AM, Adrian Johnson <ajohnson at redneon.com> wrote:
> On 24/12/10 07:03, Andrea Canciani wrote:
>>
>> I have cleaned up the code and the documentation of mesh patterns.
>>
>> The updated branch is
>> http://cgit.freedesktop.org/~ranma42/cairo/log/?h=wip/mesh5
>> The code and the comments should be fine. The latest commits should be
>> squashed into the commits they are fixing and most commit messages should
>> be rewritten. I'll fix this in another branch soon-ish.
>
> I've looked at your mesh6 branch containing the fixed commits and other than
> the two comments below this looks like it is ready to go in master.
>
> - In 7de5c245, use C instead of C++ style comments in the triangle and
>  Coons examples.

I didn't do it because it requires escaping.

>
> - In 5f9eef0a, rename the function _cairo_rasterize_mesh_pattern() to
>  _cairo_mesh_pattern_rasterize().

Yes, it looks much more consistent with other private pattern functions.

I fixed both these problems in
http://cgit.freedesktop.org/~ranma42/cairo/log/?h=wip/mesh7

and updated the gtk-doc generated manual:
http://people.freedesktop.org/~ranma42/cairo/manual/cairo-cairo-pattern-t.html

Andrea


More information about the cairo mailing list