diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2012-06-22 12:12:33 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2012-06-23 08:23:11 +0100 |
commit | 8fe8b9c89ee31dbd512bc628dbc0125a1e3bfea5 (patch) | |
tree | 5c8423c5f0b1d29fa0e363c073630eb5c78b6219 /clutter/clutter-path.h | |
parent | 49dd99f9c1a7e41a6089c1897ce58ec7825d2f8b (diff) | |
download | clutter-8fe8b9c89ee31dbd512bc628dbc0125a1e3bfea5.tar.gz |
Move PathNode definitions into clutter-types.h
Near ClutterKnot, so that we can easily remove both when we branch off
for 2.0.
Diffstat (limited to 'clutter/clutter-path.h')
-rw-r--r-- | clutter/clutter-path.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/clutter/clutter-path.h b/clutter/clutter-path.h index cdc72061c..599499a98 100644 --- a/clutter/clutter-path.h +++ b/clutter/clutter-path.h @@ -43,7 +43,6 @@ G_BEGIN_DECLS typedef struct _ClutterPathClass ClutterPathClass; typedef struct _ClutterPathPrivate ClutterPathPrivate; -typedef struct _ClutterPathNode ClutterPathNode; /** * ClutterPathCallback: @@ -87,29 +86,7 @@ struct _ClutterPathClass GInitiallyUnownedClass parent_class; }; -/** - * ClutterPathNode: - * @type: the node's type - * @points: the coordinates of the node - * - * Represents a single node of a #ClutterPath. - * - * Some of the coordinates in @points may be unused for some node - * types. %CLUTTER_PATH_MOVE_TO and %CLUTTER_PATH_LINE_TO use only one - * pair of coordinates, %CLUTTER_PATH_CURVE_TO uses all three and - * %CLUTTER_PATH_CLOSE uses none. - * - * Since: 1.0 - */ -struct _ClutterPathNode -{ - ClutterPathNodeType type; - - ClutterKnot points[3]; -}; - GType clutter_path_get_type (void) G_GNUC_CONST; -GType clutter_path_node_get_type (void) G_GNUC_CONST; ClutterPath *clutter_path_new (void); ClutterPath *clutter_path_new_with_description (const gchar *desc); @@ -173,11 +150,6 @@ guint clutter_path_get_position (ClutterPath *path, ClutterKnot *position); guint clutter_path_get_length (ClutterPath *path); -ClutterPathNode *clutter_path_node_copy (const ClutterPathNode *node); -void clutter_path_node_free (ClutterPathNode *node); -gboolean clutter_path_node_equal (const ClutterPathNode *node_a, - const ClutterPathNode *node_b); - G_END_DECLS #endif /* __CLUTTER_PATH_H__ */ |