diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-07-24 09:35:34 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-07-24 09:35:34 +0000 |
commit | 92df262a0778ee539c849454be2810621dac1b7e (patch) | |
tree | d5be9359cbacb91dffcab6f1a6ecfe61e9db2c6b /src/java/org/apache/fop/pdf/PDFState.java | |
parent | 30e2ce5bee38cbc32758e0b65fa7f98f3db76baa (diff) | |
download | xmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.tar.gz xmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.zip |
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFState.java')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFState.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFState.java b/src/java/org/apache/fop/pdf/PDFState.java index e453d7b51..2e9bd6074 100644 --- a/src/java/org/apache/fop/pdf/PDFState.java +++ b/src/java/org/apache/fop/pdf/PDFState.java @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -16,7 +16,7 @@ */ /* $Id$ */ - + package org.apache.fop.pdf; import java.io.Serializable; @@ -50,7 +50,7 @@ import java.awt.geom.GeneralPath; public class PDFState { private Data data = new Data(); - + private List stateStack = new java.util.ArrayList(); /** @@ -82,7 +82,7 @@ public class PDFState { public Data getData() { return data; } - + /** * Pop the state from the stack and set current values to popped state. * This should be called when a Q operator is used so @@ -154,7 +154,7 @@ public class PDFState { return false; } } - + /** * Set the current color. * Check if the new color is a change and then set the current color. @@ -272,7 +272,7 @@ public class PDFState { public void setTransform(AffineTransform tf) { concatenate(tf); } - + /** * Concatenates the given AffineTransform to the current one. * @param tf the transform to concatenate to the current level transform @@ -343,9 +343,9 @@ public class PDFState { return newstate; } - + public class Data implements Cloneable, Serializable { - + public Color color = Color.black; public Color backcolor = Color.black; public Paint paint = null; @@ -363,7 +363,7 @@ public class PDFState { public Shape clip = null; public PDFGState gstate = null; - + /** {@inheritDoc} */ public Object clone() throws CloneNotSupportedException { Data obj = new Data(); @@ -385,7 +385,7 @@ public class PDFState { obj.gstate = this.gstate; return obj; } - + /** * Get the current Transform. */ @@ -407,7 +407,7 @@ public class PDFState { public void concatenate(AffineTransform at) { transform.concatenate(at); } - + /** {@inheritDoc} */ public String toString() { return super.toString() + ", " + this.transform; |