"Fossies" - the Fresh Open Source Software Archive  

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

About: Xpdf is a PDF viewer for X.

GfxState.h  (xpdf-4.01.01):GfxState.h  (xpdf-4.02)
skipping to change at line 1178 skipping to change at line 1178
int getRender() { return render; } int getRender() { return render; }
GfxPath *getPath() { return path; } GfxPath *getPath() { return path; }
void setPath(GfxPath *pathA); void setPath(GfxPath *pathA);
double getCurX() { return curX; } double getCurX() { return curX; }
double getCurY() { return curY; } double getCurY() { return curY; }
void getClipBBox(double *xMin, double *yMin, double *xMax, double *yMax) void getClipBBox(double *xMin, double *yMin, double *xMax, double *yMax)
{ *xMin = clipXMin; *yMin = clipYMin; *xMax = clipXMax; *yMax = clipYMax; } { *xMin = clipXMin; *yMin = clipYMin; *xMax = clipXMax; *yMax = clipYMax; }
void getUserClipBBox(double *xMin, double *yMin, double *xMax, double *yMax); void getUserClipBBox(double *xMin, double *yMin, double *xMax, double *yMax);
double getLineX() { return lineX; } double getLineX() { return lineX; }
double getLineY() { return lineY; } double getLineY() { return lineY; }
GBool getInCachedT3Char() { return inCachedT3Char; } GBool getIgnoreColorOps() { return ignoreColorOps; }
// Is there a current point/path? // Is there a current point/path?
GBool isCurPt() { return path->isCurPt(); } GBool isCurPt() { return path->isCurPt(); }
GBool isPath() { return path->isPath(); } GBool isPath() { return path->isPath(); }
// Transforms. // Transforms.
void transform(double x1, double y1, double *x2, double *y2) void transform(double x1, double y1, double *x2, double *y2)
{ *x2 = ctm[0] * x1 + ctm[2] * y1 + ctm[4]; { *x2 = ctm[0] * x1 + ctm[2] * y1 + ctm[4];
*y2 = ctm[1] * x1 + ctm[3] * y1 + ctm[5]; } *y2 = ctm[1] * x1 + ctm[3] * y1 + ctm[5]; }
void transformDelta(double x1, double y1, double *x2, double *y2) void transformDelta(double x1, double y1, double *x2, double *y2)
skipping to change at line 1275 skipping to change at line 1275
void resetDevClipRect(double xMin, double yMin, double xMax, double yMax) void resetDevClipRect(double xMin, double yMin, double xMax, double yMax)
{ clipXMin = xMin; clipYMin = yMin; clipXMax = xMax; clipYMax = yMax; } { clipXMin = xMin; clipYMin = yMin; clipXMax = xMax; clipYMax = yMax; }
// Text position. // Text position.
void textSetPos(double tx, double ty) { lineX = tx; lineY = ty; } void textSetPos(double tx, double ty) { lineX = tx; lineY = ty; }
void textMoveTo(double tx, double ty) void textMoveTo(double tx, double ty)
{ lineX = tx; lineY = ty; textTransform(tx, ty, &curX, &curY); } { lineX = tx; lineY = ty; textTransform(tx, ty, &curX, &curY); }
void textShift(double tx, double ty); void textShift(double tx, double ty);
void shift(double dx, double dy); void shift(double dx, double dy);
// Cached Type 3 char status. // Ignore color operators (in cached/uncolored Type 3 chars, and
void setInCachedT3Char(GBool in) { inCachedT3Char = in; } // uncolored tiling patterns). Cached Type 3 char status.
void setIgnoreColorOps(GBool ignore) { ignoreColorOps = ignore; }
// Push/pop GfxState on/off stack. // Push/pop GfxState on/off stack.
GfxState *save(); GfxState *save();
GfxState *restore(); GfxState *restore();
GBool hasSaves() { return saved != NULL; } GBool hasSaves() { return saved != NULL; }
// Misc // Misc
GBool parseBlendMode(Object *obj, GfxBlendMode *mode); GBool parseBlendMode(Object *obj, GfxBlendMode *mode);
private: private:
skipping to change at line 1339 skipping to change at line 1340
double rise; // text rise double rise; // text rise
int render; // text rendering mode int render; // text rendering mode
GfxPath *path; // array of path elements GfxPath *path; // array of path elements
double curX, curY; // current point (user coords) double curX, curY; // current point (user coords)
double lineX, lineY; // start of current text line (text coords) double lineX, lineY; // start of current text line (text coords)
double clipXMin, clipYMin, // bounding box for clip region double clipXMin, clipYMin, // bounding box for clip region
clipXMax, clipYMax; clipXMax, clipYMax;
GBool inCachedT3Char; // in a cached (uncolored) Type 3 char GBool ignoreColorOps; // ignore color ops (in cached/uncolored
// Type 3 chars, and uncolored tiling
// patterns)
GfxState *saved; // next GfxState on stack GfxState *saved; // next GfxState on stack
GfxState(GfxState *state, GBool copyPath); GfxState(GfxState *state, GBool copyPath);
}; };
#endif #endif
 End of changes. 3 change blocks. 
4 lines changed or deleted 7 lines changed or added

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