Ver Fonte

[ZF-9169] SVG renderer for barcode: add associated documentation

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23041 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael há 15 anos atrás
pai
commit
76d7f64a19

+ 52 - 1
documentation/manual/en/module_specs/Zend_Barcode-Renderers.xml

@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+li  <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
 <sect1 id="zend.barcode.renderers">
 <sect1 id="zend.barcode.renderers">
     <title>Zend_Barcode Renderers</title>
     <title>Zend_Barcode Renderers</title>
@@ -251,4 +251,55 @@ $renderer->setTopOffset(10);
             There are no particular options for this renderer.
             There are no particular options for this renderer.
         </para>
         </para>
     </sect2>
     </sect2>
+
+    <sect2 id="zend.barcode.renderers.svg">
+        <title>Zend_Barcode_Renderer_Svg</title>
+
+        <para>
+            The <acronym>SVG</acronym> renderer will draw the instruction list of the barcode
+            object in a <acronym>SVG</acronym> document.
+            The default width of a module is 1 pixel.
+        </para>
+
+        <para>Available option are:</para>
+
+        <table id="zend.barcode.renderers.svg.table">
+            <title>Zend_Barcode_Renderer_Svg Options</title>
+
+            <tgroup cols="4">
+                <thead>
+                    <row>
+                        <entry>Option</entry>
+                        <entry>Data Type</entry>
+                        <entry>Default Value</entry>
+                        <entry>Description</entry>
+                    </row>
+                </thead>
+
+                <tbody>
+                    <row>
+                        <entry><emphasis>height</emphasis></entry>
+                        <entry><type>Integer</type></entry>
+                        <entry>0</entry>
+
+                        <entry>
+                            Allow you to specify the height of the result image. If "0",
+                            the height will be calculated by the barcode object.
+                        </entry>
+                    </row>
+
+                    <row>
+                        <entry><emphasis>width</emphasis></entry>
+                        <entry><type>Integer</type></entry>
+                        <entry>0</entry>
+
+                        <entry>
+                            Allow you to specify the width of the result image. If "0",
+                            the width will be calculated by the barcode object.
+                        </entry>
+                    </row>
+                </tbody>
+            </tgroup>
+        </table>
+    </sect2>
 </sect1>
 </sect1>