Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes

SPLinearGradient Struct Reference

#include <sp-linear-gradient.h>

Inheritance diagram for SPLinearGradient:
Inheritance graph
[legend]
Collaboration diagram for SPLinearGradient:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Action { ActionGeneral, ActionBBox, ActionUpdate, ActionShow }
enum  CollectionPolicy { COLLECT_WITH_PARENT, ALWAYS_COLLECT }
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
ParentIteratorStrategy
ConstParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject const,
SiblingIteratorStrategy
ConstSiblingIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
ParentIteratorStrategy
ParentIterator
typedef
Inkscape::Util::ForwardPointerIterator
< SPObject,
SiblingIteratorStrategy
SiblingIterator

Public Member Functions

void _requireSVGVersion (unsigned major, unsigned minor)
void _requireSVGVersion (Inkscape::Version version)
void _sendDeleteSignalRecursive ()
void _updateTotalHRefCount (int increment)
SPObjectappendChildRepr (Inkscape::XML::Node *repr)
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.
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 connectModified (sigc::slot< void, SPObject *, unsigned int > slot)
 Connects to the modification notification signal.
sigc::connection connectPositionChanged (sigc::slot< void, SPObject * > slot)
sigc::connection connectRelease (sigc::slot< void, SPObject * > slot)
 connects to the release request signal
gchar const * defaultLabel () const
 Returns a default label for this object.
void deleteObject (bool propagate, bool propagate_descendants)
 Deletes an object.
void deleteObject (bool propagate=true)
 Deletes on object.
gchar * desc () const
void emitModified (unsigned int flags)
 Emits a modification notification signal.
void ensureColors ()
void ensureVector ()
SPGradientSpread fetchSpread ()
SPGradientUnits fetchUnits ()
SPObject const * firstChild () const
SPObjectfirstChild ()
SPStopgetFirstStop ()
gchar const * getId () const
SPObjectgetNext ()
SPObjectgetPrev ()
SPGradientSpread getSpread () const
int getStopCount () const
SPGradientUnits getUnits () const
SPGradientgetVector (bool force_private=false)
bool hasChildren () const
bool hasStops () const
bool isAncestorOf (SPObject const *object) const
bool isReferenced ()
 Check if object is referenced by any other object.
bool isSiblingOf (SPObject const *object) const
bool isSolid () const
bool isSpreadSet () const
bool isSwatch () const
bool isUnitsSet () const
gchar const * label () const
 Gets the author-visible label for this object.
SPObjectlastChild ()
SPObject const * lastChild () const
SPObject const * nearestCommonAncestor (SPObject const *object) const
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 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 setCollectionPolicy (CollectionPolicy policy)
 Sets the orphan-collection policy in effect for this object.
bool setDesc (gchar const *desc, bool verbatim=false)
void setLabel (gchar const *label)
 Sets the author-visible label for this object.
void setSpread (SPGradientSpread spread)
void setSuccessor (SPObject *successor)
 Indicates that another object supercedes this one.
void setSwatch (bool swatch=true)
bool setTitle (gchar const *title, bool verbatim=false)
void setUnits (SPGradientUnits units)
SPObjectsuccessor ()
 Returns the object which supercedes this one (if any).
gchar * title () const
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.

Static Public Member Functions

static GType getType ()

Public Attributes

CollectionPolicy _collection_policy
gchar * _default_label
sigc::signal< void, SPObject * > _delete_signal
gchar * _label
SPObject_last_child
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
SPObjectchildren
unsigned int cloned: 1
guchar * color
SPDocumentdocument
Geom::Matrix gradientTransform
guint gradientTransform_set: 1
unsigned int hrefcount
unsigned int mflags: 8
sigc::connection modified_connection
SPObjectnext
SPPainterpainters
SPObjectparent
SPGradientReferenceref
Inkscape::XML::Noderepr
guint state: 2
SPStylestyle
unsigned int uflags: 8
SPGradientVector vector
SVGLength x1
SVGLength x2
SPIXmlSpace xml_space
SVGLength y1
SVGLength y2

Protected Attributes

bool swatch

Detailed Description

Linear gradient.

Definition at line 13 of file sp-linear-gradient.h.


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

Generated by  Doxygen 1.6.0   Back to index