diff options
author | Albert Astals Cid <aacid@kde.org> | 2011-08-31 21:05:11 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2011-08-31 21:05:11 +0200 |
commit | 2547ec60db6d954e5c8318e30fcc54f70bcfa95c (patch) | |
tree | e4a277401ad55fffa4a0919403f7dc4bd6e69c56 /splash/SplashPath.h | |
parent | 9370f9640a24c7b944f3da7c10e070a960bdd8f9 (diff) |
xpdf303: Add GBool force = gFalse to SplashPath::close
Diffstat (limited to 'splash/SplashPath.h')
-rw-r--r-- | splash/SplashPath.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/splash/SplashPath.h b/splash/SplashPath.h index 991e1143..81273c61 100644 --- a/splash/SplashPath.h +++ b/splash/SplashPath.h @@ -77,8 +77,10 @@ public: SplashCoord x2, SplashCoord y2, SplashCoord x3, SplashCoord y3); - // Close the last subpath, adding a line segment if necessary. - SplashError close(); + // 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); // Add a stroke adjustment hint. The controlling segments are // <ctrl0> and <ctrl1> (where segments are identified by their first |