Logo Search packages:      
Sourcecode: inkscape version File versions

sp-skeleton.cpp File Reference


Detailed Description

SVG <skeleton> implementation, used as an example for a base starting class when implementing new sp-objects.

In vi, three global search-and-replaces will let you rename everything in this and the .h file:

:s/SKELETON/YOURNAME/g :s/Skeleton/Yourname/g :s/skeleton/yourname/g

Definition in file sp-skeleton.cpp.

#include "attributes.h"
#include "sp-skeleton.h"
#include "xml/repr.h"

Go to the source code of this file.

Defines

#define __SP_SKELETON_CPP__
#define debug(f, a...)
#define DEBUG_SKELETON

Functions

static void sp_skeleton_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
static void sp_skeleton_class_init (SPSkeletonClass *klass)
GType sp_skeleton_get_type ()
static void sp_skeleton_init (SPSkeleton *skeleton)
static void sp_skeleton_release (SPObject *object)
static void sp_skeleton_set (SPObject *object, unsigned int key, gchar const *value)
static void sp_skeleton_update (SPObject *object, SPCtx *ctx, guint flags)
static Inkscape::XML::Nodesp_skeleton_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)

Variables

static SPObjectClassskeleton_parent_class


Generated by  Doxygen 1.6.0   Back to index