Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="all"
- page-height="297mm" page-width="210mm"
- margin-top="10mm" margin-bottom="10mm"
- margin-left="10mm" margin-right="10mm">
- <fo:region-body region-name="plan" margin-top="0in" margin-bottom="0in"
- margin-left="1in" margin-right="0in"/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="all">
- <fo:flow flow-name="plan" font-family="Arial" font-size="40pt">
- <fo:block>
- <fo:instream-foreign-object content-height="200mm">
- <svg xmlns="http://www.w3.org/2000/svg" width="150mm" height="200mm">
- <radialGradient id="grad" gradientUnits="userSpaceOnUse" cx="60mm" cy="70mm" r="50mm" fx="60mm" y="70mm">
- <stop stop-color="blue" offset="0"/>
- <stop stop-color="green" offset="0.4"/>
- <stop stop-color="yellow" offset="0.6"/>
- <stop stop-color="orange" offset="0.8"/>
- <stop stop-color="red" offset="1.0"/>
- </radialGradient>
- <rect x="10mm" y="20mm" width="100mm" height="100mm" fill="url(#grad)" stroke-width="1mm"/>
- <text font-family="Georgia" font-size="36pt" x="10mm" y="130mm"> Przykład SVG! </text>
- </svg>
- </fo:instream-foreign-object>
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement