"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "splash/Splash.h" between
xpdf-4.03.tar.gz and xpdf-4.04.tar.gz

About: Xpdf is a PDF viewer for X.

Splash.h  (xpdf-4.03):Splash.h  (xpdf-4.04)
skipping to change at line 184 skipping to change at line 184
SplashCoord lineDashPhase); SplashCoord lineDashPhase);
void setStrokeAdjust(SplashStrokeAdjustMode strokeAdjust); void setStrokeAdjust(SplashStrokeAdjustMode strokeAdjust);
// NB: uses transformed coordinates. // NB: uses transformed coordinates.
void clipResetToRect(SplashCoord x0, SplashCoord y0, void clipResetToRect(SplashCoord x0, SplashCoord y0,
SplashCoord x1, SplashCoord y1); SplashCoord x1, SplashCoord y1);
// NB: uses transformed coordinates. // NB: uses transformed coordinates.
SplashError clipToRect(SplashCoord x0, SplashCoord y0, SplashError clipToRect(SplashCoord x0, SplashCoord y0,
SplashCoord x1, SplashCoord y1); SplashCoord x1, SplashCoord y1);
// NB: uses untransformed coordinates. // NB: uses untransformed coordinates.
SplashError clipToPath(SplashPath *path, GBool eo); SplashError clipToPath(SplashPath *path, GBool eo);
void setSoftMask(SplashBitmap *softMask); void setSoftMask(SplashBitmap *softMask, GBool deleteBitmap = gTrue);
void setInTransparencyGroup(SplashBitmap *groupBackBitmapA, void setInTransparencyGroup(SplashBitmap *groupBackBitmapA,
int groupBackXA, int groupBackYA, int groupBackXA, int groupBackYA,
SplashGroupDestInitMode groupDestInitModeA, SplashGroupDestInitMode groupDestInitModeA,
GBool nonIsolated, GBool knockout); GBool nonIsolated, GBool knockout);
void forceDeferredInit(int y, int h); void forceDeferredInit(int y, int h);
GBool checkTransparentRect(int x, int y, int w, int h);
void setTransfer(Guchar *red, Guchar *green, Guchar *blue, Guchar *gray); void setTransfer(Guchar *red, Guchar *green, Guchar *blue, Guchar *gray);
void setOverprintMask(Guint overprintMask); void setOverprintMask(Guint overprintMask);
void setEnablePathSimplification(GBool en); void setEnablePathSimplification(GBool en);
//----- state save/restore //----- state save/restore
void saveState(); void saveState();
SplashError restoreState(); SplashError restoreState();
//----- drawing operations //----- drawing operations
skipping to change at line 230 skipping to change at line 231
// pixels will be drawn with the current fill color; "0" pixels are // pixels will be drawn with the current fill color; "0" pixels are
// transparent. The matrix: // transparent. The matrix:
// [ mat[0] mat[1] 0 ] // [ mat[0] mat[1] 0 ]
// [ mat[2] mat[3] 0 ] // [ mat[2] mat[3] 0 ]
// [ mat[4] mat[5] 1 ] // [ mat[4] mat[5] 1 ]
// maps a unit square to the desired destination for the image, in // maps a unit square to the desired destination for the image, in
// PostScript style: // PostScript style:
// [x' y' 1] = [x y 1] * mat // [x' y' 1] = [x y 1] * mat
// Note that the Splash y axis points downward, and the image source // Note that the Splash y axis points downward, and the image source
// is assumed to produce pixels in raster order, starting from the // is assumed to produce pixels in raster order, starting from the
// top line. // top line. If [interpolate] is false, no filtering is done when
// upsampling. If [antialias] is false, no filtering is done when
// upsampling (overriding the [interpolate] flag), and threshold
// filtering is done when downsampling.
SplashError fillImageMask(GString *imageTag, SplashError fillImageMask(GString *imageTag,
SplashImageMaskSource src, void *srcData, SplashImageMaskSource src, void *srcData,
int w, int h, SplashCoord *mat, int w, int h, SplashCoord *mat,
GBool glyphMode, GBool interpolate); GBool glyphMode, GBool interpolate,
GBool antialias);
// Draw an image. This will read <h> lines of <w> pixels from // Draw an image. This will read <h> lines of <w> pixels from
// <src>, starting with the top line. These pixels are assumed to // <src>, starting with the top line. These pixels are assumed to
// be in the source mode, <srcMode>. If <srcAlpha> is true, the // be in the source mode, <srcMode>. If <srcAlpha> is true, the
// alpha values returned by <src> are used; otherwise they are // alpha values returned by <src> are used; otherwise they are
// ignored. The following combinations of source and target modes // ignored. The following combinations of source and target modes
// are supported: // are supported:
// source target // source target
// ------ ------ // ------ ------
// Mono8 Mono1 -- with dithering // Mono8 Mono1 -- with dithering
 End of changes. 4 change blocks. 
3 lines changed or deleted 8 lines changed or added

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