summaryrefslogtreecommitdiff
path: root/docs/xml
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2013-02-21 15:35:27 +0000
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2013-02-21 15:35:27 +0000
commitb6dcd91c200ab9a06bd978105666292db3a907d5 (patch)
treedf5599150fbc25d0ab94f50eeea60c6b0af0a431 /docs/xml
parenta2a47250423e3b22bdcf1a52f2e214b71102579c (diff)
downloadfpGUI-b6dcd91c200ab9a06bd978105666292db3a907d5.tar.xz
Started documenting the Agg2D unit. Still lots to do here.
I committed this now, so I don't loose the file somehow.
Diffstat (limited to 'docs/xml')
-rw-r--r--docs/xml/corelib/render/software/agg2d.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/xml/corelib/render/software/agg2d.xml b/docs/xml/corelib/render/software/agg2d.xml
new file mode 100644
index 00000000..7ec76d66
--- /dev/null
+++ b/docs/xml/corelib/render/software/agg2d.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<fpdoc-descriptions>
+<package name="fpGUI">
+<module name="Agg2D">
+<short>Defines a AggPas powered Canvas class</short>
+<descr><p>This unit represents a fpGUI Canvas class, but powered by the software rendering engine, AggPas.</p>
+<ul>
+<li>Rendering of arbitrary polygons with Anti-Aliasing and Subpixel Accuracy</li>
+<li>Affine matrix transformations (Rotate, Scale, Skew, Translate, Viewport)</li>
+<li>User to World and vice versa coordinates conversions</li>
+<li>Clipping to the rectangular area</li>
+<li>Master Alpha Transparency</li>
+<li>Master Anti Aliasing Gamma correction</li>
+</ul>
+</descr>
+
+<element name="TAgg2D.Attach">
+<short>Associates a bitmap as the rendering output</short>
+<descr>This method associates vector engine object with bitmap image for the purpose of rendering vector graphics onto it's surface. </descr>
+</element>
+
+<element name="TAgg2D.Attach.bitmap">
+<short>A valid reference to non empty Device Independent Bitmap in pf24bit or pf32bit format. Bitmap can already contain some image data (eg. photo). In that case all renderings will take place over the existing image data. </short>
+</element>
+
+<element name="TAgg2D.Attach.flip_y">
+<short>Indicates if coordinate system on Y axis originates in Bottom Left corner. Otherwise coordinates on Y axis originate in Top Left corner. </short>
+</element>
+
+<element name="TAgg2D.Attach.Result">
+<descr><p>If True, vector engine was successfully connected to the bitmap surface and drawing routine can be immediately performed.</p>
+<p>If False, there was an error connecting to the surface. Check if bitmap image has required DIB format or if it's not empty. </p>
+ </descr>
+</element>
+</module>
+</package>
+</fpdoc-descriptions>