]> source.dussan.org Git - xmlgraphics-fop.git/commit
Fixed logic error setting the transformation matrix for block-container viewports...
authorJeremias Maerki <jeremias@apache.org>
Thu, 17 Jan 2008 13:37:04 +0000 (13:37 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 17 Jan 2008 13:37:04 +0000 (13:37 +0000)
commit341da37f0397ee32757588ffe5d72b63ef51db5b
tree98ce246936721a8df7b736698cfc0328ad5c86b6
parent5b110dff04202cb6e9fd4181e231715b96372cc6
Fixed logic error setting the transformation matrix for block-container viewports (applies to absolute and fixed block-containers only). The CTM now only rotates and shifts the content as necessary for reference-orientation and writing-mode. All the rest of the transformation is done by the renderer which allows to add additional transformations as made possible by fox:transform (see below).
Important: External renderer implementations need to adjust for the change and implement the new method concatenateTransformationMatrix(AffineTransform) if the renderer is derived from AbstractPathOrientedRenderer.

New extension attribute fox:transform on fo:block-container allows free-form transformation (rotation, scaling etc.) of absolute and fixed block-containers. Supported only for PDF, PS and Java2D-based renderers.

Added missing region background painting for PCL renderer.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@612815 13f79535-47bb-0310-9956-ffa450edef68
15 files changed:
src/documentation/content/xdocs/trunk/extensions.xml
src/java/org/apache/fop/area/CTM.java
src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
src/java/org/apache/fop/render/AbstractRenderer.java
src/java/org/apache/fop/render/afp/AFPRenderer.java
src/java/org/apache/fop/render/java2d/Java2DRenderer.java
src/java/org/apache/fop/render/pcl/PCLRenderer.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/ps/PSRenderer.java
src/java/org/apache/fop/render/txt/TXTRenderer.java
status.xml
test/layoutengine/standard-testcases/block-container_absolute-position_display-align.xml
test/layoutengine/standard-testcases/block-container_absolute-position_fixed.xml
test/layoutengine/standard-testcases/block-container_absolute-position_fox-transform.xml [new file with mode: 0644]