diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h b/Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h index a8715302042..b5732b8b408 100644 --- a/Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h +++ b/Build/source/libs/xpdf/xpdf-src/splash/SplashPath.h @@ -49,6 +49,7 @@ struct SplashPathPoint { struct SplashPathHint { int ctrl0, ctrl1; int firstPt, lastPt; + GBool projectingCap; }; //------------------------------------------------------------------------ @@ -89,7 +90,10 @@ public: // Add a stroke adjustment hint. The controlling segments are // <ctrl0> and <ctrl1> (where segments are identified by their first // point), and the points to be adjusted are <firstPt> .. <lastPt>. - void addStrokeAdjustHint(int ctrl0, int ctrl1, int firstPt, int lastPt); + // <projectingCap> is true if the points are part of a projecting + // line cap. + void addStrokeAdjustHint(int ctrl0, int ctrl1, int firstPt, int lastPt, + GBool projectingCap = gFalse); // Add (<dx>, <dy>) to every point on this path. void offset(SplashCoord dx, SplashCoord dy); @@ -102,6 +106,10 @@ public: // Get the current point. GBool getCurPt(SplashCoord *x, SplashCoord *y); + // Returns true if the path contains one or more zero length + // subpaths. + GBool containsZeroLengthSubpaths(); + private: SplashPath(SplashPath *path); |