[cairo] Renaming cairo_meta_surface_t?

Behdad Esfahbod behdad at behdad.org
Wed Jul 8 20:37:16 PDT 2009


+1 for a better name.  The first thing I thought was recording also.

On 07/08/2009 02:27 PM, M Joonas Pihlaja wrote:
> Hey,
>
> In cairo master the cairo_meta_surface_t type has recently been made a
> public surface type.  I think this is a sorely missed API addition so
> wholeheartedly agree with making it public, but the name could be
> better; cairo_meta_surface_t is a particularly nondescriptive name for
> a public surface type.  I propose it be renamed to something like
> cairo_recording_surface_t or cairo_replay_surface_t instead.  The
> public functions would then be, for example:
>
> cairo_recording_surface_create (content, width, height)
> cairo_recording_surface_ink_extents (surface,&x,&y,&width,&height)
> cairo_recording_surface_replay (surface, target_surface);
>
> Thoughts?
>
> Joonas
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list