From 137171a8e7b96fcff3b9c87195cda692b1fdbfa0 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 14 Jul 2014 21:24:02 +0000 Subject: [PATCH] Renamed shading package to gradient git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610534 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/pdf/PDFFunction.java | 2 +- src/java/org/apache/fop/pdf/PDFShading.java | 2 +- .../apache/fop/render/{shading => gradient}/Function.java | 2 +- .../fop/render/{shading => gradient}/GradientMaker.java | 2 +- .../apache/fop/render/{shading => gradient}/Pattern.java | 2 +- .../apache/fop/render/{shading => gradient}/Shading.java | 2 +- .../org/apache/fop/render/ps/svg/PSSVGGraphics2D.java | 8 ++++---- src/java/org/apache/fop/svg/PDFGraphics2D.java | 8 ++++---- 8 files changed, 14 insertions(+), 14 deletions(-) rename src/java/org/apache/fop/render/{shading => gradient}/Function.java (99%) rename src/java/org/apache/fop/render/{shading => gradient}/GradientMaker.java (99%) rename src/java/org/apache/fop/render/{shading => gradient}/Pattern.java (97%) rename src/java/org/apache/fop/render/{shading => gradient}/Shading.java (99%) diff --git a/src/java/org/apache/fop/pdf/PDFFunction.java b/src/java/org/apache/fop/pdf/PDFFunction.java index bdd61a86d..65ec0ea90 100644 --- a/src/java/org/apache/fop/pdf/PDFFunction.java +++ b/src/java/org/apache/fop/pdf/PDFFunction.java @@ -24,7 +24,7 @@ import java.util.Arrays; import java.util.Collections; import java.util.List; -import org.apache.fop.render.shading.Function; +import org.apache.fop.render.gradient.Function; /** * class representing a PDF Function. diff --git a/src/java/org/apache/fop/pdf/PDFShading.java b/src/java/org/apache/fop/pdf/PDFShading.java index a45c14e66..577e10a09 100644 --- a/src/java/org/apache/fop/pdf/PDFShading.java +++ b/src/java/org/apache/fop/pdf/PDFShading.java @@ -21,7 +21,7 @@ package org.apache.fop.pdf; import java.util.List; -import org.apache.fop.render.shading.Shading; +import org.apache.fop.render.gradient.Shading; /** diff --git a/src/java/org/apache/fop/render/shading/Function.java b/src/java/org/apache/fop/render/gradient/Function.java similarity index 99% rename from src/java/org/apache/fop/render/shading/Function.java rename to src/java/org/apache/fop/render/gradient/Function.java index 8fb6528cb..f37479538 100644 --- a/src/java/org/apache/fop/render/shading/Function.java +++ b/src/java/org/apache/fop/render/gradient/Function.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.fop.render.shading; +package org.apache.fop.render.gradient; import java.util.Collections; import java.util.List; diff --git a/src/java/org/apache/fop/render/shading/GradientMaker.java b/src/java/org/apache/fop/render/gradient/GradientMaker.java similarity index 99% rename from src/java/org/apache/fop/render/shading/GradientMaker.java rename to src/java/org/apache/fop/render/gradient/GradientMaker.java index d9c55ea75..02db2c5fe 100644 --- a/src/java/org/apache/fop/render/shading/GradientMaker.java +++ b/src/java/org/apache/fop/render/gradient/GradientMaker.java @@ -17,7 +17,7 @@ /* $Id$ */ -package org.apache.fop.render.shading; +package org.apache.fop.render.gradient; import java.awt.Color; import java.awt.geom.AffineTransform; diff --git a/src/java/org/apache/fop/render/shading/Pattern.java b/src/java/org/apache/fop/render/gradient/Pattern.java similarity index 97% rename from src/java/org/apache/fop/render/shading/Pattern.java rename to src/java/org/apache/fop/render/gradient/Pattern.java index 91101a324..cc244f58c 100644 --- a/src/java/org/apache/fop/render/shading/Pattern.java +++ b/src/java/org/apache/fop/render/gradient/Pattern.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.fop.render.shading; +package org.apache.fop.render.gradient; import java.util.List; diff --git a/src/java/org/apache/fop/render/shading/Shading.java b/src/java/org/apache/fop/render/gradient/Shading.java similarity index 99% rename from src/java/org/apache/fop/render/shading/Shading.java rename to src/java/org/apache/fop/render/gradient/Shading.java index 89b4added..61f933cdd 100644 --- a/src/java/org/apache/fop/render/shading/Shading.java +++ b/src/java/org/apache/fop/render/gradient/Shading.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.fop.render.shading; +package org.apache.fop.render.gradient; import java.util.List; diff --git a/src/java/org/apache/fop/render/ps/svg/PSSVGGraphics2D.java b/src/java/org/apache/fop/render/ps/svg/PSSVGGraphics2D.java index 9f428dca6..55811f2c9 100644 --- a/src/java/org/apache/fop/render/ps/svg/PSSVGGraphics2D.java +++ b/src/java/org/apache/fop/render/ps/svg/PSSVGGraphics2D.java @@ -35,10 +35,10 @@ import org.apache.batik.ext.awt.RadialGradientPaint; import org.apache.xmlgraphics.java2d.ps.PSGraphics2D; import org.apache.xmlgraphics.ps.PSGenerator; -import org.apache.fop.render.shading.Function; -import org.apache.fop.render.shading.GradientMaker; -import org.apache.fop.render.shading.Pattern; -import org.apache.fop.render.shading.Shading; +import org.apache.fop.render.gradient.Function; +import org.apache.fop.render.gradient.GradientMaker; +import org.apache.fop.render.gradient.Pattern; +import org.apache.fop.render.gradient.Shading; public class PSSVGGraphics2D extends PSGraphics2D { diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java index 359c1c0aa..f8a480d83 100644 --- a/src/java/org/apache/fop/svg/PDFGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java @@ -93,13 +93,13 @@ import org.apache.fop.pdf.PDFResources; import org.apache.fop.pdf.PDFShading; import org.apache.fop.pdf.PDFText; import org.apache.fop.pdf.PDFXObject; +import org.apache.fop.render.gradient.Function; +import org.apache.fop.render.gradient.GradientMaker; +import org.apache.fop.render.gradient.Pattern; +import org.apache.fop.render.gradient.Shading; import org.apache.fop.render.pdf.ImageRawCCITTFaxAdapter; import org.apache.fop.render.pdf.ImageRawJPEGAdapter; import org.apache.fop.render.pdf.ImageRenderedAdapter; -import org.apache.fop.render.shading.Function; -import org.apache.fop.render.shading.GradientMaker; -import org.apache.fop.render.shading.Pattern; -import org.apache.fop.render.shading.Shading; /** *

PDF Graphics 2D. -- 2.39.5