[poppler] poppler/splash: SplashClip.h,1.1.1.1,1.2

Albert Astals Cid aacid at freedesktop.org
Thu Sep 15 14:51:18 PDT 2005


Update of /cvs/poppler/poppler/splash
In directory gabe:/tmp/cvs-serv11316

Modified Files:
	SplashClip.h 
Log Message:
Merge xpdf 3.00 -> 3.01 changes for that file


Index: SplashClip.h
===================================================================
RCS file: /cvs/poppler/poppler/splash/SplashClip.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- SplashClip.h	3 Mar 2005 19:45:59 -0000	1.1.1.1
+++ SplashClip.h	15 Sep 2005 21:51:16 -0000	1.2
@@ -71,6 +71,15 @@
   // Similar to testRect, but tests a horizontal span.
   SplashClipResult testSpan(int spanXMin, int spanXMax, int spanY);
 
+  // Get the rectangle part of the clip region.
+  int getXMin() { return xMin; }
+  int getXMax() { return xMax; }
+  int getYMin() { return yMin; }
+  int getYMax() { return yMax; }
+
+  // Get the number of arbitrary paths used by the clip region.
+  int getNumPaths() { return length; }
+
 private:
 
   SplashClip(SplashClip *clip);



More information about the poppler mailing list