Logo Search packages:      
Sourcecode: inkscape version File versions

sp-item.cpp File Reference


Detailed Description

Base class for visual SVG elements

Definition in file sp-item.cpp.

#include <config.h>
#include <math.h>
#include <string.h>
#include <algorithm>
#include "macros.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 "uri-references.h"
#include "selection.h"
#include "style.h"
#include <glibmm/i18n.h>
#include "sp-root.h"
#include "sp-anchor.h"
#include "sp-clippath.h"
#include "sp-mask.h"
#include "sp-rect.h"
#include "sp-use.h"
#include "sp-text.h"
#include "sp-item.h"
#include "sp-item-rm-unsatisfied-cns.h"
#include "prefs-utils.h"
#include "libnr/nr-matrix.h"
#include "libnr/nr-matrix-div.h"
#include "libnr/nr-matrix-fns.h"
#include "libnr/nr-matrix-ops.h"
#include "libnr/nr-matrix-scale-ops.h"
#include "libnr/nr-matrix-translate-ops.h"
#include "libnr/nr-translate-scale-ops.h"
#include "libnr/nr-rect.h"
#include "svg/stringstream.h"
#include "algorithms/find-last-if.h"
#include "util/list.h"
#include "util/reverse-list.h"
#include "xml/repr.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)
void sp_item_adjust_paint_recursive (SPItem *item, NR::Matrix advertized_transform, NR::Matrix t_ancestors, bool is_pattern)
void sp_item_adjust_rects_recursive (SPItem *item, NR::Matrix advertized_transform)
void sp_item_adjust_stroke_width_recursive (SPItem *item, double expansion)
NR::Rect sp_item_bbox_desktop (SPItem *item)
void sp_item_bbox_desktop (SPItem *item, NRRect *bbox)
static void sp_item_build (SPObject *object, SPDocument *document, SPRepr *repr)
static void sp_item_class_init (SPItemClass *klass)
gchar * sp_item_description (SPItem *item)
unsigned sp_item_display_key_new (unsigned numkeys)
NRMatrix * sp_item_dt2i_affine (SPItem const *item, SPDesktop *dt, NRMatrix *affine)
NR::Matrix sp_item_dt2i_affine (SPItem const *item, SPDesktop *)
gint sp_item_event (SPItem *item, SPEvent *event)
NRArenaItem * sp_item_get_arenaitem (SPItem *item, unsigned key)
GType sp_item_get_type (void)
NRMatrix * sp_item_i2d_affine (SPItem const *item, NRMatrix *affine)
NR::Matrix sp_item_i2d_affine (SPItem const *item)
NRMatrix * sp_item_i2doc_affine (SPItem const *item, NRMatrix *affine)
NR::Matrix sp_item_i2doc_affine (SPItem const *item)
NR::Matrix sp_item_i2r_affine (SPItem const *item)
NRMatrix * sp_item_i2root_affine (SPItem const *item, NRMatrix *affine)
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)
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_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, SnapPointsIter p)
NR::Matrix sp_item_transform_repr (SPItem *item)
static void sp_item_update (SPObject *object, SPCtx *ctx, guint flags)
static SPItemView * sp_item_view_list_remove (SPItemView *list, SPItemView *view)
static SPItemView * sp_item_view_new_prepend (SPItemView *list, SPItem *item, unsigned flags, unsigned key, NRArenaItem *arenaitem)
static SPRepr * sp_item_write (SPObject *object, SPRepr *repr, guint flags)
void sp_item_write_transform (SPItem *item, SPRepr *repr, NR::Matrix const &transform, NR::Matrix const *adv)
void sp_item_write_transform (SPItem *item, SPRepr *repr, NRMatrix const *transform, NR::Matrix const *adv)

Variables

static SPObjectClass * parent_class


Generated by  Doxygen 1.6.0   Back to index