From 3f8838ef97cc1fc9799be4d1be2ac3a86dae596d Mon Sep 17 00:00:00 2001 From: Peter Hancock Date: Mon, 22 Oct 2012 14:06:43 +0000 Subject: Support for relative border-*-*-radius fox properties Plus cleanup git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1400883 13f79535-47bb-0310-9956-ffa450edef68 --- examples/fo/advanced/rounded-corners.fo | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'examples') diff --git a/examples/fo/advanced/rounded-corners.fo b/examples/fo/advanced/rounded-corners.fo index d8df05922..7b275ae17 100644 --- a/examples/fo/advanced/rounded-corners.fo +++ b/examples/fo/advanced/rounded-corners.fo @@ -12,7 +12,7 @@ Examples using Rounded Corners - The "border-radius" property in the http://xmlgraphics.apache.org/fop/extensions namespace is a shorthand property for setting appropriate values for "border-*-radius-*" (see below), and is used to specify round corners on block areas. The property takes one or two values: + The "border-radius" property in the http://xmlgraphics.apache.org/fop/extensions namespace is a shorthand property for setting appropriate values for "border-*-radius" (see below), and is used to specify round corners on block areas. The property takes one or two values: Circular corners are specified when 'border-radius' is set to a single value. This value is the radius of the outer quadrant of the corner. @@ -21,20 +21,20 @@ - To specify the corner radii of two adjacent border segments, A and B, the properties border-A-radius-B and border-B-radius-A are set. The value border-A-radius-B is the radius of the A-B corner in the direction perpendicular to segment A. - + The radii for a specific corner can be specified for each CORNER (in 'before-start', 'before-end', 'after-start', 'after-end') with the property "border-CORNER-radius". These properties + have the same interpretation as the "border-radius" property. - + - + @@ -53,14 +53,14 @@ - + I - + II @@ -76,39 +76,39 @@ - The border segments join at a line that coincides with the one that interesects the inner and outer corners of the equivalent rectangular corner. This is clearly demonstrated below where rounded borders are overlayed on top of rectangular borders. + The border segments join at a line that coincides with the one that intersects the inner and outer corners of the equivalent rectangular corner. This is clearly demonstrated below where rounded borders are overlayed on top of rectangular borders. - + - + - + - + - + - + -- cgit v1.2.3