summaryrefslogtreecommitdiffstats
path: root/doc/API
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /doc/API
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'doc/API')
-rw-r--r--doc/API61
1 files changed, 61 insertions, 0 deletions
diff --git a/doc/API b/doc/API
new file mode 100644
index 000000000..129faa6b6
--- /dev/null
+++ b/doc/API
@@ -0,0 +1,61 @@
+
+Sodipodi API's
+--------------
+
+This file identifies and discusses various Application Programming
+Interfaces (API's) that exist in the codebase. This is not intended to
+serve as a complete reference but as a high level overview; details
+should be sought from the appropriate code units.
+
+Stable API's
+============
+
+
+Unstable API's
+==============
+Objects and API-s mentioned here, even if implemented,
+may change without notice.
+
+Special item classes
+~~~~~~~~~~~~~~~~~~~~
+SPGroup::SPBinder
+A group with special children
+For example - blender
+1. first
+2. second
+3... intermediate
+
+Sodipodi New Object Tree TM
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Caution: This does not follow necessarily the Real (TM) implementation
+logic. This should be updated to capture the correct stuff.
+
+ SPItem
+ Virtual methods:
+ void update (gdouble affine[]);
+ void bbox ();
+ void print (GnomePrintContext * gpc);
+ gchar * description ();
+ void read ();
+ read_attr (const gchar * attr)
+ GnomeCanvasItem * show (GnomeCanvasGroup * canvas_group, gpointer event_handler);
+ hide (GnomeCanvas * canvas)
+ paint (ArtPixBuf * buf, double affine[]);
+ Signals:
+ Methods:
+ SPRepr * sp_item_repr ()
+ SPItem * sp_item_parent ()
+
+ Constructors:
+ sp_item_new (SPRepr * repr);
+
+ Destructors:
+ sp_item_destroy (SPItem * item);
+
+ Derivatives:
+
+ SPGroup -> SPDocument
+ SPImage
+ SPPath -> SPShape -> SPRect
+ -> SPEllipse
+ -> SPChars -> SPText