diff options
Diffstat (limited to 'splash/SplashPath.h')
-rw-r--r-- | splash/SplashPath.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/splash/SplashPath.h b/splash/SplashPath.h index be3840ae..a44732d9 100644 --- a/splash/SplashPath.h +++ b/splash/SplashPath.h @@ -95,7 +95,7 @@ public: // Close the last subpath, adding a line segment if necessary. If // <force> is true, this adds a line segment even if the current // point is equal to the first point in the subpath. - SplashError close(GBool force = gFalse); + SplashError close(bool force = false); // Add a stroke adjustment hint. The controlling segments are // <ctrl0> and <ctrl1> (where segments are identified by their first @@ -111,7 +111,7 @@ public: { *x = pts[i].x; *y = pts[i].y; *f = flags[i]; } // Get the current point. - GBool getCurPt(SplashCoord *x, SplashCoord *y); + bool getCurPt(SplashCoord *x, SplashCoord *y); // Reserve space for at least n points void reserve(int n); @@ -120,9 +120,9 @@ protected: SplashPath(SplashPath *path); void grow(int nPts); - GBool noCurrentPoint() { return curSubpath == length; } - GBool onePointSubpath() { return curSubpath == length - 1; } - GBool openSubpath() { return curSubpath < length - 1; } + bool noCurrentPoint() { return curSubpath == length; } + bool onePointSubpath() { return curSubpath == length - 1; } + bool openSubpath() { return curSubpath < length - 1; } SplashPathPoint *pts; // array of points Guchar *flags; // array of flags |