Whitespace fixes
Let's try to honour the coding style document, now that we have one.
This commit is contained in:
parent
81541e6940
commit
2f23003425
@ -314,8 +314,6 @@ clutter_path_add_node_helper (ClutterPath *path,
|
||||
int i;
|
||||
va_list ap;
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
node = clutter_path_node_full_new ();
|
||||
|
||||
node->k.type = type;
|
||||
@ -350,6 +348,8 @@ clutter_path_add_move_to (ClutterPath *path,
|
||||
gint x,
|
||||
gint y)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_MOVE_TO, 1, x, y);
|
||||
}
|
||||
|
||||
@ -369,6 +369,8 @@ clutter_path_add_rel_move_to (ClutterPath *path,
|
||||
gint x,
|
||||
gint y)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_REL_MOVE_TO, 1, x, y);
|
||||
}
|
||||
|
||||
@ -388,6 +390,8 @@ clutter_path_add_line_to (ClutterPath *path,
|
||||
gint x,
|
||||
gint y)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_LINE_TO, 1, x, y);
|
||||
}
|
||||
|
||||
@ -407,6 +411,8 @@ clutter_path_add_rel_line_to (ClutterPath *path,
|
||||
gint x,
|
||||
gint y)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_REL_LINE_TO, 1, x, y);
|
||||
}
|
||||
|
||||
@ -435,6 +441,8 @@ clutter_path_add_curve_to (ClutterPath *path,
|
||||
gint x3,
|
||||
gint y3)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_CURVE_TO, 3,
|
||||
x1, y1, x2, y2, x3, y3);
|
||||
}
|
||||
@ -463,6 +471,8 @@ clutter_path_add_rel_curve_to (ClutterPath *path,
|
||||
gint x3,
|
||||
gint y3)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_REL_CURVE_TO, 3,
|
||||
x1, y1, x2, y2, x3, y3);
|
||||
}
|
||||
@ -480,11 +490,15 @@ clutter_path_add_rel_curve_to (ClutterPath *path,
|
||||
void
|
||||
clutter_path_add_close (ClutterPath *path)
|
||||
{
|
||||
g_return_if_fail (CLUTTER_IS_PATH (path));
|
||||
|
||||
clutter_path_add_node_helper (path, CLUTTER_PATH_CLOSE, 0);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
clutter_path_parse_number (const gchar **pin, gboolean allow_comma, gint *ret)
|
||||
clutter_path_parse_number (const gchar **pin,
|
||||
gboolean allow_comma,
|
||||
gint *ret)
|
||||
{
|
||||
gint val = 0;
|
||||
gboolean negative = FALSE;
|
||||
@ -547,7 +561,8 @@ clutter_path_parse_number (const gchar **pin, gboolean allow_comma, gint *ret)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
clutter_path_parse_description (const gchar *p, GSList **ret)
|
||||
clutter_path_parse_description (const gchar *p,
|
||||
GSList **ret)
|
||||
{
|
||||
GSList *nodes = NULL;
|
||||
ClutterPathNodeFull *node;
|
||||
@ -625,7 +640,8 @@ clutter_path_parse_description (const gchar *p, GSList **ret)
|
||||
|
||||
/* Takes ownership of the node list */
|
||||
static void
|
||||
clutter_path_add_nodes (ClutterPath *path, GSList *nodes)
|
||||
clutter_path_add_nodes (ClutterPath *path,
|
||||
GSList *nodes)
|
||||
{
|
||||
ClutterPathPrivate *priv = path->priv;
|
||||
|
||||
@ -694,7 +710,8 @@ clutter_path_add_nodes (ClutterPath *path, GSList *nodes)
|
||||
* Since: 1.0
|
||||
*/
|
||||
gboolean
|
||||
clutter_path_add_string (ClutterPath *path, const gchar *str)
|
||||
clutter_path_add_string (ClutterPath *path,
|
||||
const gchar *str)
|
||||
{
|
||||
GSList *nodes;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user