[cairo] mesh APi naming (was: cairo snapshot 1.11.2 now available)
Benjamin Otte
otte at redhat.com
Thu Jan 27 09:51:49 PST 2011
On Sun, 2011-01-23 at 16:59 +0000, Chris Wilson wrote:
> API additions:
>
> The ability to construct piece-wise Bezier surface gradients:
>
> cairo_pattern_create_mesh
>
> constructs a pattern of type CAIRO_PATTERN_TYPE_MESH using
>
> cairo_pattern_mesh_begin_patch
> cairo_pattern_mesh_end_patch
> cairo_pattern_mesh_curve_to
> cairo_pattern_mesh_line_to
> cairo_pattern_mesh_move_to
> cairo_pattern_mesh_set_control_point
> cairo_pattern_mesh_set_corner_color_rgb
> cairo_pattern_mesh_set_corner_color_rgba
> cairo_pattern_mesh_get_patch_count
> cairo_pattern_mesh_get_path
> cairo_pattern_mesh_get_corner_color_rgba
> cairo_pattern_mesh_get_control_point
>
Why are we using cairo_pattern_mesh_foo instead of
cairo_mesh_pattern_foo in the API?
Isn't it a mesh pattern and not a pattern mesh?
Benjamin
More information about the cairo
mailing list