diff options
author | Keiron Liddle <keiron@apache.org> | 2002-02-26 12:43:10 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-02-26 12:43:10 +0000 |
commit | 06f1a67571fc02ac28eb8fe97bce1aa21362bf6b (patch) | |
tree | 65618a4be92cd2e8e3cc3e5db5c11dd2ba7ef187 /src/org/apache/fop/image | |
parent | 6149a1b0be49d64f31d27c26c11f542fc642d246 (diff) | |
download | xmlgraphics-fop-06f1a67571fc02ac28eb8fe97bce1aa21362bf6b.tar.gz xmlgraphics-fop-06f1a67571fc02ac28eb8fe97bce1aa21362bf6b.zip |
remove SVGArea and ImageArea, no longer needed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r-- | src/org/apache/fop/image/ImageArea.java | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/src/org/apache/fop/image/ImageArea.java b/src/org/apache/fop/image/ImageArea.java deleted file mode 100644 index 32e473fd4..000000000 --- a/src/org/apache/fop/image/ImageArea.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - */ - -package org.apache.fop.image; - -import org.apache.fop.fo.properties.TextAlign; -import org.apache.fop.layout.*; -import org.apache.fop.layout.inline.*; - -import org.apache.fop.render.Renderer; - -public class ImageArea extends InlineArea { - - protected int xOffset = 0; - protected int align; - protected int valign; - protected FopImage image; - - - public ImageArea(FontState fontState, FopImage img, - int AllocationWidth, int width, int height, - int startIndent, int endIndent, int align) { - super(fontState, width, 0, 0, 0); - this.currentHeight = height; - this.contentRectangleWidth = width; - this.height = height; - this.image = img; - this.align = align; - - /* - * switch (align) { - * case TextAlign.START: - * xOffset = startIndent; - * break; - * case TextAlign.END: - * if (endIndent == 0) - * endIndent = AllocationWidth; - * xOffset = (endIndent - width); - * break; - * case TextAlign.JUSTIFY: - * xOffset = startIndent; - * break; - * case TextAlign.CENTER: - * if (endIndent == 0) - * endIndent = AllocationWidth; - * xOffset = startIndent + ((endIndent - startIndent) - width)/2; - * break; - * } - */ - } - - public int getXOffset() { - return this.xOffset; - } - - public FopImage getImage() { - return this.image; - } - - public int getImageHeight() { - return currentHeight; - } - - public void setAlign(int align) { - this.align = align; - } - - public int getAlign() { - return this.align; - } - - public void setVerticalAlign(int align) { - this.valign = align; - } - - public int getVerticalAlign() { - return this.valign; - } - - public void setStartIndent(int startIndent) { - xOffset = startIndent; - } - -} - |