diff options
author | Jeremias Maerki <jeremias@apache.org> | 2010-09-30 11:51:08 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2010-09-30 11:51:08 +0000 |
commit | ba7f42b128a5265f443c401613378aaa504d727d (patch) | |
tree | 814718c081744d315598934ab7b6c3e806d4fffb /src/java/org/apache/fop/area/Trait.java | |
parent | 1e510128c7dc3e1d049a9a26f1067d98c92b6b70 (diff) | |
download | xmlgraphics-fop-ba7f42b128a5265f443c401613378aaa504d727d.tar.gz xmlgraphics-fop-ba7f42b128a5265f443c401613378aaa504d727d.zip |
Bugzilla #49913:
Initial code drop for support of rounded corners.
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
Changes to patch:
- Java 1.5 methods eliminated
- Some (not all!) Checkstyle violations fixed.
- Fixed some excessive and missing whitespace
- paintCornersAsBitmap() in AFPPainter was missing a call to ImageSize.calcPixelsFromSize()
- Made AT representation of border traits cleaner
- Added a TODO for table borders (inner and outer versions)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1003020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/Trait.java')
-rw-r--r-- | src/java/org/apache/fop/area/Trait.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/Trait.java b/src/java/org/apache/fop/area/Trait.java index 42c5462e4..9e9d576c3 100644 --- a/src/java/org/apache/fop/area/Trait.java +++ b/src/java/org/apache/fop/area/Trait.java @@ -197,12 +197,13 @@ public final class Trait implements Serializable { public static final Integer OVERLINE_COLOR = new Integer(35); /** Trait for color of linethrough decorations when rendering inline parent. */ public static final Integer LINETHROUGH_COLOR = new Integer(36); - + /** The ptr trait. Used for accessibility */ public static final Integer PTR = new Integer(37); + /** Maximum value used by trait keys */ - public static final int MAX_TRAIT_KEY = 37; + public static final int MAX_TRAIT_KEY = 38; private static final TraitInfo[] TRAIT_INFO = new TraitInfo[MAX_TRAIT_KEY + 1]; |