Logo Search packages:      
Sourcecode: inkscape version File versions

SPRoot Struct Reference

#include <sp-root.h>

Inheritance diagram for SPRoot:

SPItem SPItem SPItem SPItem SPItem SPItem SPItem SPItem

List of all members.


Detailed Description

<svg> element

Definition at line 29 of file sp-root.h.


Public Types

enum  Action {
  ActionGeneral, ActionBBox, ActionUpdate, ActionShow,
  ActionGeneral, ActionBBox, ActionUpdate, ActionShow
}
enum  Action {
  ActionGeneral, ActionBBox, ActionUpdate, ActionShow,
  ActionGeneral, ActionBBox, ActionUpdate, ActionShow
}
enum  BBoxType {
  APPROXIMATE_BBOX, GEOMETRIC_BBOX, RENDERING_BBOX, APPROXIMATE_BBOX,
  GEOMETRIC_BBOX, RENDERING_BBOX
}
enum  BBoxType {
  APPROXIMATE_BBOX, GEOMETRIC_BBOX, RENDERING_BBOX, APPROXIMATE_BBOX,
  GEOMETRIC_BBOX, RENDERING_BBOX
}
enum  CollectionPolicy { COLLECT_WITH_PARENT, ALWAYS_COLLECT, COLLECT_WITH_PARENT, ALWAYS_COLLECT }
enum  CollectionPolicy { COLLECT_WITH_PARENT, ALWAYS_COLLECT, COLLECT_WITH_PARENT, ALWAYS_COLLECT }
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
ParentIteratorStrategy
ConstParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
ParentIteratorStrategy
ConstParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
SiblingIteratorStrategy
ConstSiblingIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
SiblingIteratorStrategy
ConstSiblingIterator
enum  LayerMode { GROUP, LAYER, GROUP, LAYER }
enum  LayerMode { GROUP, LAYER, GROUP, LAYER }
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
ParentIteratorStrategy
ParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
ParentIteratorStrategy
ParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
SiblingIteratorStrategy
SiblingIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
SiblingIteratorStrategy
SiblingIterator

Public Member Functions

void _requireSVGVersion (Inkscape::Version version)
void _requireSVGVersion (unsigned major, unsigned minor)
void _requireSVGVersion (Inkscape::Version version)
void _requireSVGVersion (unsigned major, unsigned minor)
void _sendDeleteSignalRecursive ()
void _sendDeleteSignalRecursive ()
void _updateTotalHRefCount (int increment)
void _updateTotalHRefCount (int increment)
SPObjectappendChildRepr (Inkscape::XML::Node *repr)
SPObjectappendChildRepr (Inkscape::XML::Node *repr)
GSList * childList (bool add_ref, Action action=ActionGeneral)
 Retrieves children as a GSList.
GSList * childList (bool add_ref, Action action=ActionGeneral)
 Retrieves children as a GSList.
CollectionPolicy collectionPolicy () const
 Set the policy under which this object will be orphan-collected.
CollectionPolicy collectionPolicy () const
 Set the policy under which this object will be orphan-collected.
void collectOrphan ()
 Unconditionally delete the object if it is not referenced.
void collectOrphan ()
 Unconditionally delete the object if it is not referenced.
sigc::connection connectDelete (sigc::slot< void, SPObject * > slot)
 Connects a slot to be called when an object is deleted.
sigc::connection connectDelete (sigc::slot< void, SPObject * > slot)
 Connects a slot to be called when an object is deleted.
sigc::connection connectModified (sigc::slot< void, SPObject *, unsigned int > slot)
 Connects to the modification notification signal.
sigc::connection connectModified (sigc::slot< void, SPObject *, unsigned int > slot)
 Connects to the modification notification signal.
sigc::connection connectPositionChanged (sigc::slot< void, SPObject * > slot)
sigc::connection connectPositionChanged (sigc::slot< void, SPObject * > slot)
sigc::connection connectRelease (sigc::slot< void, SPObject * > slot)
 connects to the release request signal
sigc::connection connectRelease (sigc::slot< void, SPObject * > slot)
 connects to the release request signal
sigc::connection connectTransformed (sigc::slot< void, Geom::Matrix const *, SPItem * > slot)
sigc::connection connectTransformed (sigc::slot< void, Geom::Matrix const *, SPItem * > slot)
gchar const * defaultLabel () const
 Returns a default label for this object.
gchar const * defaultLabel () const
 Returns a default label for this object.
void deleteObject (bool propagate=true)
 Deletes on object.
void deleteObject (bool propagate, bool propagate_descendants)
 Deletes an object.
void deleteObject (bool propagate=true)
 Deletes on object.
void deleteObject (bool propagate, bool propagate_descendants)
 Deletes an object.
gchar * desc () const
gchar * desc () const
LayerMode effectiveLayerMode (unsigned int display_key) const
LayerMode effectiveLayerMode (unsigned int display_key) const
void emitModified (unsigned int flags)
 Emits a modification notification signal.
void emitModified (unsigned int flags)
 Emits a modification notification signal.
SPObject const * firstChild () const
SPObjectfirstChild ()
SPObject const * firstChild () const
SPObjectfirstChild ()
Geom::OptRect getBounds (Geom::Matrix const &transform, BBoxType type=APPROXIMATE_BBOX, unsigned int dkey=0) const
Geom::OptRect getBounds (Geom::Matrix const &transform, BBoxType type=APPROXIMATE_BBOX, unsigned int dkey=0) const
Geom::Point getCenter () const
Geom::Point getCenter () const
Geom::Matrix getRelativeTransform (SPObject const *obj) const
Geom::Matrix getRelativeTransform (SPObject const *obj) const
bool hasChildren () const
bool hasChildren () const
void init ()
void init ()
bool isAncestorOf (SPObject const *object) const
bool isAncestorOf (SPObject const *object) const
bool isCenterSet ()
bool isCenterSet ()
bool isEvaluated () const
bool isEvaluated () const
bool isExplicitlyHidden () const
bool isExplicitlyHidden () const
bool isHidden (unsigned display_key) const
bool isHidden () const
bool isHidden (unsigned display_key) const
bool isHidden () const
bool isLocked () const
bool isLocked () const
bool isReferenced ()
 Check if object is referenced by any other object.
bool isReferenced ()
 Check if object is referenced by any other object.
bool isSiblingOf (SPObject const *object) const
bool isSiblingOf (SPObject const *object) const
bool isVisibleAndUnlocked (unsigned display_key) const
bool isVisibleAndUnlocked () const
bool isVisibleAndUnlocked (unsigned display_key) const
bool isVisibleAndUnlocked () const
gchar const * label () const
 Gets the author-visible label for this object.
gchar const * label () const
 Gets the author-visible label for this object.
SPObject const * lastChild () const
SPObjectlastChild ()
SPObject const * lastChild () const
SPObjectlastChild ()
LayerMode layerDisplayMode (unsigned int display_key) const
LayerMode layerDisplayMode (unsigned int display_key) const
LayerMode layerMode () const
LayerMode layerMode () const
void lowerOne ()
void lowerOne ()
void lowerToBottom ()
void lowerToBottom ()
SPObject const * nearestCommonAncestor (SPObject const *object) const
SPObject const * nearestCommonAncestor (SPObject const *object) const
void raiseOne ()
void raiseOne ()
void raiseToTop ()
void raiseToTop ()
void releaseReferences ()
 cleans up an SPObject, releasing its references and requesting that references to it be released
void releaseReferences ()
 cleans up an SPObject, releasing its references and requesting that references to it be released
void requestDisplayUpdate (unsigned int flags)
 Queues an deferred update of this object's display.
void requestDisplayUpdate (unsigned int flags)
 Queues an deferred update of this object's display.
void requestModified (unsigned int flags)
 Requests that a modification notification signal be emitted later (e.g. during the idle loop).
void requestModified (unsigned int flags)
 Requests that a modification notification signal be emitted later (e.g. during the idle loop).
void requestOrphanCollection ()
 Requests a later automatic call to collectOrphan().
void requestOrphanCollection ()
 Requests a later automatic call to collectOrphan().
void resetEvaluated ()
void resetEvaluated ()
void setCenter (Geom::Point object_centre)
void setCenter (Geom::Point object_centre)
void setCollectionPolicy (CollectionPolicy policy)
 Sets the orphan-collection policy in effect for this object.
void setCollectionPolicy (CollectionPolicy policy)
 Sets the orphan-collection policy in effect for this object.
bool setDesc (gchar const *desc, bool verbatim=false)
bool setDesc (gchar const *desc, bool verbatim=false)
void setEvaluated (bool visible)
void setEvaluated (bool visible)
void setExplicitlyHidden (bool val)
void setExplicitlyHidden (bool val)
void setHidden (bool hidden)
void setHidden (bool hidden)
void setLabel (gchar const *label)
 Sets the author-visible label for this object.
void setLabel (gchar const *label)
 Sets the author-visible label for this object.
void setLayerDisplayMode (unsigned int display_key, LayerMode mode)
void setLayerDisplayMode (unsigned int display_key, LayerMode mode)
void setLayerMode (LayerMode mode)
void setLayerMode (LayerMode mode)
void setLocked (bool lock)
void setLocked (bool lock)
void setSuccessor (SPObject *successor)
 Indicates that another object supercedes this one.
void setSuccessor (SPObject *successor)
 Indicates that another object supercedes this one.
bool setTitle (gchar const *title, bool verbatim=false)
bool setTitle (gchar const *title, bool verbatim=false)
SPObjectsuccessor ()
 Returns the object which supercedes this one (if any).
SPObjectsuccessor ()
 Returns the object which supercedes this one (if any).
gchar * title () const
gchar * title () const
void translateChildItems (Geom::Translate const &tr)
void translateChildItems (Geom::Translate const &tr)
void unsetCenter ()
void unsetCenter ()
void updateDisplay (SPCtx *ctx, unsigned int flags)
 Updates the object's display immediately.
void updateDisplay (SPCtx *ctx, unsigned int flags)
 Updates the object's display immediately.
Inkscape::XML::NodeupdateRepr (Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags)
 Updates the given repr based on the object's state.
Inkscape::XML::NodeupdateRepr (unsigned int flags=SP_OBJECT_WRITE_EXT)
 Updates the object's repr based on the object's state.
Inkscape::XML::NodeupdateRepr (Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags)
 Updates the given repr based on the object's state.
Inkscape::XML::NodeupdateRepr (unsigned int flags=SP_OBJECT_WRITE_EXT)
 Updates the object's repr based on the object's state.

Public Attributes

sigc::connection _clip_ref_connection
CollectionPolicy _collection_policy
gchar * _default_label
sigc::signal< void, SPObject * > _delete_signal
std::map< unsigned int, LayerMode > _display_modes
gchar * _label
SPObject_last_child
LayerMode _layer_mode
sigc::connection _mask_ref_connection
sigc::signal< void, SPObject
*, unsigned int > 
_modified_signal
sigc::signal< void, SPObject * > _position_changed_signal
sigc::signal< void, SPObject * > _release_signal
SPObject_successor
unsigned int _total_hrefcount
sigc::signal< void,
Geom::Matrix const *, SPItem * > 
_transformed_signal
unsigned int aspect_align: 4
unsigned int aspect_clip: 1
unsigned int aspect_set: 1
SPAvoidRef * avoidRef
Geom::Matrix c2p
SPObjectchildren
SPClipPathReference * clip_ref
unsigned int cloned: 1
std::vector< SPGuideConstraint > constraints
Inkscape::LivePathEffect::LPEObjectReference * current_path_effect
SPDefs * defs
SPItemViewdisplay
SPDocumentdocument
CGroup * group
SVGLength height
unsigned int hrefcount
gchar * id
std::vector
< Inkscape::Display::TemporaryItem * > 
lpe_helperpaths
sigc::connection lpe_modified_connection
SPMaskReference * mask_ref
unsigned int mflags: 8
SPObjectnext
gchar * onload
struct {
   Inkscape::Version   inkscape
   Inkscape::Version   svg
original
struct {
   Inkscape::Version   inkscape
   Inkscape::Version   svg
original
SPObjectparent
PathEffectList * path_effect_list
int path_effects_enabled
Inkscape::XML::Noderepr
unsigned int sensitive: 1
unsigned int stop_paint: 1
SPStylestyle
Geom::Matrix transform
double transform_center_x
double transform_center_y
unsigned int uflags: 8
struct {
   Inkscape::Version   inkscape
   Inkscape::Version   svg
version
struct {
   Inkscape::Version   inkscape
   Inkscape::Version   svg
version
NRRect viewBox
unsigned int viewBox_set: 1
SVGLength width
SVGLength x
SPIXmlSpace xml_space
SVGLength y

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index