From afeb3261e4a80cd9b07dba26b447b58d807702c8 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Tue, 6 Jul 2004 12:14:21 +0000 Subject: [PATCH] Cosmetic changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197755 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/fop/fo/properties/WritingMode.java | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/src/java/org/apache/fop/fo/properties/WritingMode.java b/src/java/org/apache/fop/fo/properties/WritingMode.java index 1078759c0..8ab211f7a 100644 --- a/src/java/org/apache/fop/fo/properties/WritingMode.java +++ b/src/java/org/apache/fop/fo/properties/WritingMode.java @@ -364,6 +364,19 @@ public class WritingMode extends Property { return leftToRight[writingMode]; } + /** + * Returns a Rectangle2D constructed from the normailized + * values of offset and dimensions expressed in terms of + * inline-progression-direction and + * block-progression-direction + * @param ipOffset + * @param bpOffset + * @param ipDim the inline-progression-dimension + * @param bpDim the block-progression-dimension + * @param wMode + * @return + * @throws PropertyException + */ public static Rectangle2D.Double rectRelToAbs( double ipOffset, double bpOffset, double ipDim, double bpDim, int wMode) throws PropertyException { @@ -375,12 +388,12 @@ public class WritingMode extends Property { /** * Normalizes a pair of values representing an - * inline-progression-dimension and a - * block-progression-dimension by converting them to a - * Point2D representing the corresponding X and Y values in + * inline-progression-dimension and a + * block-progression-dimension by converting them to a + * Point2D representing the corresponding X and Y values in * Java 2D user co-ordinates. - * @param ipDim the inline-progression-dimension - * @param bpDim the block-progression-dimension + * @param ipDim the inline-progression-dimension + * @param bpDim the block-progression-dimension * @param writingMode * @return the corresponding x, y values * @throws PropertyException @@ -396,12 +409,12 @@ public class WritingMode extends Property { /** * Normalizes a pair of values representing an - * inline-progression-dimension and a - * block-progression-dimension by converting them to a + * inline-progression-dimension and a + * block-progression-dimension by converting them to a * Point2D representing the corresponding X and Y values in * Java 2D user co-ordinates. - * @param ipDim the inline-progression-dimension - * @param bpDim the block-progression-dimension + * @param ipDim the inline-progression-dimension + * @param bpDim the block-progression-dimension * @param writingMode * @return the corresponding x, y values * @throws PropertyException @@ -420,12 +433,12 @@ public class WritingMode extends Property { /** * Normalizes a pair of values representing an - * inline-progression-dimension and a - * block-progression-dimension by converting them to a + * inline-progression-dimension and a + * block-progression-dimension by converting them to a * Point2D representing the corresponding X and Y values in * Java 2D user co-ordinates. - * @param ipDim the inline-progression-dimension - * @param bpDim the block-progression-dimension + * @param ipDim the inline-progression-dimension + * @param bpDim the block-progression-dimension * @param writingMode * @return the corresponding x, y values * @throws PropertyException -- 2.39.5