path: Remove use of CoglHandle in the CoglPath API

This replaces the use of CoglHandle with strongly type CoglPath *
pointers instead. The only function not converted for now is
cogl_is_path which will be done in a later commit.
This commit is contained in:
Robert Bragg
2010-05-28 00:35:47 +01:00
parent 5f8fadeb1c
commit 817c1cddcc
4 changed files with 53 additions and 55 deletions

View File

@ -56,7 +56,6 @@ typedef struct _CoglBezCubic
floatVec2 p4;
} CoglBezCubic;
typedef struct _CoglPath CoglPath;
typedef struct _CoglPathData CoglPathData;
struct _CoglPath
@ -81,11 +80,11 @@ struct _CoglPathData
/* This is an internal version of cogl_path_new that doesn't affect
the current path and just creates a new handle */
CoglHandle
CoglPath *
_cogl_path_new (void);
void
_cogl_add_path_to_stencil_buffer (CoglHandle path,
_cogl_add_path_to_stencil_buffer (CoglPath *path,
gboolean merge,
gboolean need_clear);