aboutsummaryrefslogtreecommitdiffstats
path: root/libart_lgpl/art_svp_vpath.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-20 18:56:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-20 20:06:19 +0800
commit5d0878967ee21a039ef599222b1cf3eb606354d4 (patch)
tree790cfcbf63fea7292740f182dd612ab20244f6e8 /libart_lgpl/art_svp_vpath.c
parentf5f2132d60cdd1884c6343f759aadfd38a159e04 (diff)
downloadgsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.gz
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.bz2
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.lz
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.xz
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.zst
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'libart_lgpl/art_svp_vpath.c')
-rw-r--r--libart_lgpl/art_svp_vpath.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/libart_lgpl/art_svp_vpath.c b/libart_lgpl/art_svp_vpath.c
index 196711a400..47b1931140 100644
--- a/libart_lgpl/art_svp_vpath.c
+++ b/libart_lgpl/art_svp_vpath.c
@@ -30,12 +30,11 @@
#include "art_vpath.h"
#include "art_svp.h"
-
/* reverse a list of points in place */
static void
-reverse_points (ArtPoint *points, int n_points)
+reverse_points (ArtPoint *points, gint n_points)
{
- int i;
+ gint i;
ArtPoint tmp_p;
for (i = 0; i < (n_points >> 1); i++)
@@ -66,15 +65,15 @@ reverse_points (ArtPoint *points, int n_points)
ArtSVP *
art_svp_from_vpath (ArtVpath *vpath)
{
- int n_segs, n_segs_max;
+ gint n_segs, n_segs_max;
ArtSVP *svp;
- int dir;
- int new_dir;
- int i;
+ gint dir;
+ gint new_dir;
+ gint i;
ArtPoint *points;
- int n_points, n_points_max;
- double x, y;
- double x_min, x_max;
+ gint n_points, n_points_max;
+ gdouble x, y;
+ gdouble x_min, x_max;
n_segs = 0;
n_segs_max = 16;