You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ja...@apache.org on 2014/02/26 07:35:33 UTC
svn commit: r1571931 - in
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox:
pdfviewer/PageDrawer.java pdmodel/graphics/PDShading.java
Author: jahewson
Date: Wed Feb 26 06:35:33 2014
New Revision: 1571931
URL: http://svn.apache.org/r1571931
Log:
Removed unused class PDShading
Removed:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/PDShading.java
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java?rev=1571931&r1=1571930&r2=1571931&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java Wed Feb 26 06:35:33 2014
@@ -66,7 +66,6 @@ import org.apache.pdfbox.pdmodel.font.PD
import org.apache.pdfbox.pdmodel.font.PDType3Font;
import org.apache.pdfbox.pdmodel.graphics.PDGraphicsState;
import org.apache.pdfbox.pdmodel.graphics.PDLineDashPattern;
-import org.apache.pdfbox.pdmodel.graphics.PDShading;
import org.apache.pdfbox.pdmodel.graphics.color.PDColor;
import org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace;
import org.apache.pdfbox.pdmodel.graphics.pattern.PDTilingPattern;
@@ -858,95 +857,4 @@ public class PageDrawer extends PDFStrea
graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
graphics.fill(getGraphicsState().getCurrentClippingPath());
}
-
- /**
- * Fill with a Function-based gradient / shading. If extending the class, override this and its siblings, not the
- * public SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_Function(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
-
- /**
- * Fill with an Axial Shading. If extending the class, override this and its siblings, not the public SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_Axial(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
-
- }
-
- /**
- * Fill with a Radial gradient / shading. If extending the class, override this and its siblings, not the public
- * SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_Radial(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
-
- /**
- * Fill with a Free-form Gourad-shaded triangle mesh. If extending the class, override this and its siblings, not
- * the public SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_FreeGourad(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
-
- /**
- * Fill with a Lattice-form Gourad-shaded triangle mesh. If extending the class, override this and its siblings, not
- * the public SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_LatticeGourad(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
-
- /**
- * Fill with a Coons patch mesh If extending the class, override this and its siblings, not the public SHFill
- * method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_CoonsPatch(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
-
- /**
- * Fill with a Tensor-product patch mesh. If extending the class, override this and its siblings, not the public
- * SHFill method.
- *
- * @param Shading The Shading Dictionary to use for this fill instruction.
- *
- * @throws IOException If there is an IO error while shade-filling the path/clipping area.
- */
- protected void SHFill_TensorPatch(PDShading Shading) throws IOException
- {
- throw new IOException("Not Implemented");
- }
}