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

sp-item.cpp File Reference


Detailed Description

Base class for visual SVG elements

Definition in file sp-item.cpp.

#include "sp-item.h"
#include "svg/svg.h"
#include "print.h"
#include "display/nr-arena.h"
#include "display/nr-arena-item.h"
#include "attributes.h"
#include "document.h"
#include "uri.h"
#include "inkscape.h"
#include "desktop-handles.h"
#include "style.h"
#include <glibmm/i18n.h>
#include "sp-root.h"
#include "sp-clippath.h"
#include "sp-mask.h"
#include "sp-rect.h"
#include "sp-use.h"
#include "sp-text.h"
#include "sp-item-rm-unsatisfied-cns.h"
#include "sp-pattern.h"
#include "sp-switch.h"
#include "gradient-chemistry.h"
#include "prefs-utils.h"
#include "conn-avoid-ref.h"
#include "conditions.h"
#include "sp-filter-reference.h"
#include "sp-guide.h"
#include "libnr/nr-matrix-div.h"
#include "libnr/nr-matrix-fns.h"
#include "libnr/nr-matrix-scale-ops.h"
#include "libnr/nr-matrix-translate-ops.h"
#include "libnr/nr-scale-translate-ops.h"
#include "libnr/nr-translate-scale-ops.h"
#include "libnr/nr-convert2geom.h"
#include "algorithms/find-last-if.h"
#include "util/reverse-list.h"
#include "xml/repr.h"
#include "extract-uri.h"
#include "live_effects/lpeobject.h"
#include "live_effects/effect.h"

Go to the source code of this file.

Functions

static void clip_ref_changed (SPObject *old_clip, SPObject *clip, SPItem *item)
NR::Matrix i2anc_affine (SPObject const *object, SPObject const *const ancestor)
NR::Matrix i2i_affine (SPObject const *src, SPObject const *dest)
bool is_item (SPObject const &object)
static void mask_ref_changed (SPObject *old_clip, SPObject *clip, SPItem *item)
NR::Matrix matrix_from_desktop (NR::Matrix const m, SPItem const *item)
NR::Matrix matrix_to_desktop (NR::Matrix const m, SPItem const *item)
void sp_item_adjust_gradient (SPItem *item, NR::Matrix const &postmul, bool set)
void sp_item_adjust_livepatheffect (SPItem *item, NR::Matrix const &postmul, bool set)
void sp_item_adjust_paint_recursive (SPItem *item, NR::Matrix advertized_transform, NR::Matrix t_ancestors, bool is_pattern)
void sp_item_adjust_pattern (SPItem *item, NR::Matrix const &postmul, bool set)
void sp_item_adjust_rects_recursive (SPItem *item, NR::Matrix advertized_transform)
void sp_item_adjust_stroke (SPItem *item, gdouble ex)
void sp_item_adjust_stroke_width_recursive (SPItem *item, double expansion)
NR::Maybe< NR::Rectsp_item_bbox_desktop (SPItem *item, SPItem::BBoxType type)
void sp_item_bbox_desktop (SPItem *item, NRRect *bbox, SPItem::BBoxType type)
static void sp_item_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
static void sp_item_class_init (SPItemClass *klass)
void sp_item_convert_item_to_guides (SPItem *item)
void sp_item_convert_to_guides (SPItem *item)
gchar * sp_item_description (SPItem *item)
unsigned sp_item_display_key_new (unsigned numkeys)
NR::Matrix sp_item_dt2i_affine (SPItem const *item)
gint sp_item_event (SPItem *item, SPEvent *event)
SPItemsp_item_first_item_child (SPObject *obj)
NRArenaItem * sp_item_get_arenaitem (SPItem *item, unsigned key)
GType sp_item_get_type (void)
NR::Matrix sp_item_i2d_affine (SPItem const *item)
NR::Matrix sp_item_i2doc_affine (SPItem const *item)
NR::Matrix sp_item_i2r_affine (SPItem const *item)
NR::Matrix sp_item_i2root_affine (SPItem const *item)
static void sp_item_init (SPItem *item)
void sp_item_invoke_bbox (SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type)
void sp_item_invoke_bbox (SPItem const *item, NR::Maybe< NR::Rect > *bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type)
void sp_item_invoke_bbox_full (SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear)
void sp_item_invoke_bbox_full (SPItem const *item, NR::Maybe< NR::Rect > *bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear)
void sp_item_invoke_hide (SPItem *item, unsigned key)
void sp_item_invoke_print (SPItem *item, SPPrintContext *ctx)
NRArenaItem * sp_item_invoke_show (SPItem *item, NRArena *arena, unsigned key, unsigned flags)
unsigned sp_item_pos_in_parent (SPItem *item)
static gchar * sp_item_private_description (SPItem *item)
static void sp_item_private_snappoints (SPItem const *item, SnapPointsIter p)
static void sp_item_release (SPObject *object)
int sp_item_repr_compare_position (SPItem *first, SPItem *second)
static void sp_item_set (SPObject *object, unsigned key, gchar const *value)
void sp_item_set_i2d_affine (SPItem *item, NR::Matrix const &i2dt)
void sp_item_set_item_transform (SPItem *item, NR::Matrix const &transform)
void sp_item_snappoints (SPItem const *item, bool includeItemCenter, SnapPointsIter p)
NR::Matrix sp_item_transform_repr (SPItem *item)
static void sp_item_update (SPObject *object, SPCtx *ctx, guint flags)
static SPItemViewsp_item_view_list_remove (SPItemView *list, SPItemView *view)
static SPItemViewsp_item_view_new_prepend (SPItemView *list, SPItem *item, unsigned flags, unsigned key, NRArenaItem *arenaitem)
static Inkscape::XML::Nodesp_item_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
void sp_item_write_transform (SPItem *item, Inkscape::XML::Node *repr, NR::Matrix const &transform, NR::Matrix const *adv, bool compensate)
void sp_item_write_transform (SPItem *item, Inkscape::XML::Node *repr, NRMatrix const *transform, NR::Matrix const *adv)

Variables

static SPObjectClassparent_class


Generated by  Doxygen 1.6.0   Back to index