diff options
| author | miklosh <miklosh@users.sourceforge.net> | 2007-08-09 17:34:09 +0000 |
|---|---|---|
| committer | miklosh <miklosh@users.sourceforge.net> | 2007-08-09 17:34:09 +0000 |
| commit | cff0458822c70bc8e75b701512467850254677e6 (patch) | |
| tree | 7ff4e3fe2d285614b0186392448114ae46dbb055 /src/extension/internal/pdfinput/pdf-parser.cpp | |
| parent | Reworked gradient handling to support all shading color spaces (diff) | |
| download | inkscape-cff0458822c70bc8e75b701512467850254677e6.tar.gz inkscape-cff0458822c70bc8e75b701512467850254677e6.zip | |
To ease testing reduced fallback operations' precision for now
(bzr r3443)
Diffstat (limited to 'src/extension/internal/pdfinput/pdf-parser.cpp')
| -rw-r--r-- | src/extension/internal/pdfinput/pdf-parser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp index 465350b78..a9cf2ad2b 100644 --- a/src/extension/internal/pdfinput/pdf-parser.cpp +++ b/src/extension/internal/pdfinput/pdf-parser.cpp @@ -64,33 +64,33 @@ extern "C" { #define functionMaxDepth 6 // Max delta allowed in any color component for a function shading fill. -#define functionColorDelta (dblToCol(1 / 256.0)) +#define functionColorDelta (dblToCol(1 / 2.0)) // Max number of splits along the t axis for an axial shading fill. #define axialMaxSplits 256 // Max delta allowed in any color component for an axial shading fill. -#define axialColorDelta (dblToCol(1 / 256.0)) +#define axialColorDelta (dblToCol(1 / 2.0)) // Max number of splits along the t axis for a radial shading fill. #define radialMaxSplits 256 // Max delta allowed in any color component for a radial shading fill. -#define radialColorDelta (dblToCol(1 / 256.0)) +#define radialColorDelta (dblToCol(1 / 2.0)) // Max recursive depth for a Gouraud triangle shading fill. #define gouraudMaxDepth 6 // Max delta allowed in any color component for a Gouraud triangle // shading fill. -#define gouraudColorDelta (dblToCol(1 / 256.0)) +#define gouraudColorDelta (dblToCol(1 / 2.0)) // Max recursive depth for a patch mesh shading fill. #define patchMaxDepth 6 // Max delta allowed in any color component for a patch mesh shading // fill. -#define patchColorDelta (dblToCol(1 / 256.0)) +#define patchColorDelta (dblToCol(1 / 2.0)) // Max number of operators kept in the history list. #define maxOperatorHistoryDepth 16 |
