From 00e397fb0c50eb215aed37f03c7c9c427be318e8 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 5 Jul 2002 09:20:13 +0000 Subject: embedding svg in instream-foreign-object with alignment and scaling git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194970 13f79535-47bb-0310-9956-ffa450edef68 --- test/resources/fop/svg/blocks.ent | 21 +++++++++ test/resources/fop/svg/embed.fo | 93 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 test/resources/fop/svg/blocks.ent create mode 100644 test/resources/fop/svg/embed.fo (limited to 'test/resources') diff --git a/test/resources/fop/svg/blocks.ent b/test/resources/fop/svg/blocks.ent new file mode 100644 index 000000000..f8b70b4be --- /dev/null +++ b/test/resources/fop/svg/blocks.ent @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/test/resources/fop/svg/embed.fo b/test/resources/fop/svg/embed.fo new file mode 100644 index 000000000..5d0929626 --- /dev/null +++ b/test/resources/fop/svg/embed.fo @@ -0,0 +1,93 @@ + + +]> + + + + + + + + + + + + + + + + + + + + + +Embedding SVG in Viewport + + Align in Larger Viewport + + +Default align: +(&svgimage;), start +(&svgimage;), center +(&svgimage;), end +(&svgimage;), before +(&svgimage;), center +(&svgimage;), after +(&svgimage;), start-before +(&svgimage;), start-center +(&svgimage;), start-after +(&svgimage;), center-before +(&svgimage;), center-center +(&svgimage;), center-after +(&svgimage;), end-before +(&svgimage;), end-center +(&svgimage;), end-after +(&svgimage;). + + + Align in Smaller Viewport + +Default align: +(&svgimage;), start +(&svgimage;), center +(&svgimage;), end +(&svgimage;), before +(&svgimage;), center +(&svgimage;), after +(&svgimage;), start-before +(&svgimage;), start-center +(&svgimage;), start-after +(&svgimage;), center-before +(&svgimage;), center-center +(&svgimage;), center-after +(&svgimage;), end-before +(&svgimage;), end-center +(&svgimage;), end-after +(&svgimage;). + + + Scaling + +Non-uniform +(&svgimage;), uniform +(&svgimage;), uniform +(&svgimage;). + + + + This section is only required to show that the layout still works. + + + + + + -- cgit v1.2.3