"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf/GfxState.h" between
xpdf-4.02.tar.gz and xpdf-4.03.tar.gz

About: Xpdf is a PDF viewer for X.

GfxState.h  (xpdf-4.02):GfxState.h  (xpdf-4.03)
skipping to change at line 204 skipping to change at line 204
virtual void getDefaultRanges(double *decodeLow, double *decodeRange, virtual void getDefaultRanges(double *decodeLow, double *decodeRange,
int maxImgPixel); int maxImgPixel);
// Returns true if painting operations in this color space never // Returns true if painting operations in this color space never
// mark the page (e.g., the "None" colorant). // mark the page (e.g., the "None" colorant).
virtual GBool isNonMarking() { return gFalse; } virtual GBool isNonMarking() { return gFalse; }
// Return the color space's overprint mask. // Return the color space's overprint mask.
Guint getOverprintMask() { return overprintMask; } Guint getOverprintMask() { return overprintMask; }
// Return true if this color space object is the result of
// substituting a DefaultGray/RGB/CMYK color space for
// DeviceGray/RGB/CMYK.
GBool isDefaultColorSpace() { return defaultColorSpace; }
// Return the number of color space modes // Return the number of color space modes
static int getNumColorSpaceModes(); static int getNumColorSpaceModes();
// Return the name of the <idx>th color space mode. // Return the name of the <idx>th color space mode.
static const char *getColorSpaceModeName(int idx); static const char *getColorSpaceModeName(int idx);
protected: protected:
Guint overprintMask; Guint overprintMask;
GBool defaultColorSpace;
}; };
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// GfxDeviceGrayColorSpace // GfxDeviceGrayColorSpace
//------------------------------------------------------------------------ //------------------------------------------------------------------------
class GfxDeviceGrayColorSpace: public GfxColorSpace { class GfxDeviceGrayColorSpace: public GfxColorSpace {
public: public:
GfxDeviceGrayColorSpace(); GfxDeviceGrayColorSpace();
skipping to change at line 872 skipping to change at line 878
static GfxGouraudTriangleShading *parse(int typeA, Dict *dict, Stream *str static GfxGouraudTriangleShading *parse(int typeA, Dict *dict, Stream *str
); );
virtual GfxShading *copy(); virtual GfxShading *copy();
int getNComps() { return nComps; } int getNComps() { return nComps; }
int getNTriangles() { return nTriangles; } int getNTriangles() { return nTriangles; }
void getTriangle(int i, double *x0, double *y0, double *color0, void getTriangle(int i, double *x0, double *y0, double *color0,
double *x1, double *y1, double *color1, double *x1, double *y1, double *color1,
double *x2, double *y2, double *color2); double *x2, double *y2, double *color2);
void getBBox(double *xMin, double *yMin, double *xMax, double *yMax);
void getColor(double *in, GfxColor *out); void getColor(double *in, GfxColor *out);
private: private:
GfxGouraudVertex *vertices; GfxGouraudVertex *vertices;
int nVertices; int nVertices;
int (*triangles)[3]; int (*triangles)[3];
int nTriangles; int nTriangles;
Function *funcs[gfxColorMaxComps]; Function *funcs[gfxColorMaxComps];
int nComps; // number of color components (1 if nFuncs > 0) int nComps; // number of color components (1 if nFuncs > 0)
skipping to change at line 911 skipping to change at line 918
virtual ~GfxPatchMeshShading(); virtual ~GfxPatchMeshShading();
static GfxPatchMeshShading *parse(int typeA, Dict *dict, Stream *str static GfxPatchMeshShading *parse(int typeA, Dict *dict, Stream *str
); );
virtual GfxShading *copy(); virtual GfxShading *copy();
int getNComps() { return nComps; } int getNComps() { return nComps; }
int getNPatches() { return nPatches; } int getNPatches() { return nPatches; }
GfxPatch *getPatch(int i) { return &patches[i]; } GfxPatch *getPatch(int i) { return &patches[i]; }
void getBBox(double *xMin, double *yMin, double *xMax, double *yMax);
void getColor(double *in, GfxColor *out); void getColor(double *in, GfxColor *out);
private: private:
GfxPatch *patches; GfxPatch *patches;
int nPatches; int nPatches;
Function *funcs[gfxColorMaxComps]; Function *funcs[gfxColorMaxComps];
int nComps; // number of color components (1 if nFuncs > 0) int nComps; // number of color components (1 if nFuncs > 0)
int nFuncs; int nFuncs;
}; };
 End of changes. 4 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)