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

sp-item.h File Reference
#include <vector>
#include "display/nr-arena-forward.h"
#include "sp-object.h"
#include <2geom/matrix.h>
#include <libnr/nr-rect.h>
#include <2geom/forward.h>
#include <libnr/nr-convert2geom.h>
#include <snap-preferences.h>
#include "snap-candidate.h"
Include dependency graph for sp-item.h:

Go to the source code of this file.


struct  SPEvent
class  SPItem
struct  SPItemClass
 The SPItem vtable. More...
struct  SPItemCtx
 Contains transformations to document/viewport and the viewport size. More...
struct  SPItemView
 SPItemView. More...


namespace  Inkscape

Main Inkscape namespace.


#define SP_ITEM_REFERENCE_FLAGS   (1 << 1)
#define SP_ITEM_SHOW_DISPLAY   (1 << 0)
#define SP_ITEM_STOP_PAINT(i)   (SP_ITEM (i)->stop_paint)


enum  {


Geom::Matrix i2anc_affine (SPObject const *item, SPObject const *ancestor)
Geom::Matrix i2i_affine (SPObject const *src, SPObject const *dest)
void sp_item_adjust_gradient (SPItem *item, Geom::Matrix const &postmul, bool set=false)
void sp_item_adjust_livepatheffect (SPItem *item, Geom::Matrix const &postmul, bool set=false)
void sp_item_adjust_paint_recursive (SPItem *item, Geom::Matrix advertized_transform, Geom::Matrix t_ancestors, bool is_pattern)
void sp_item_adjust_pattern (SPItem *item, Geom::Matrix const &postmul, bool set=false)
void sp_item_adjust_stroke (SPItem *item, gdouble ex)
void sp_item_adjust_stroke_width_recursive (SPItem *item, gdouble ex)
void sp_item_bbox_desktop (SPItem *item, NRRect *bbox, SPItem::BBoxType type=SPItem::APPROXIMATE_BBOX) __attribute__((deprecated))
Geom::OptRect sp_item_bbox_desktop (SPItem *item, SPItem::BBoxType type=SPItem::APPROXIMATE_BBOX)
void sp_item_convert_item_to_guides (SPItem *item)
void sp_item_convert_to_guides (SPItem *item)
gchar * sp_item_description (SPItem *item)
unsigned int sp_item_display_key_new (unsigned int numkeys)
Geom::Matrix sp_item_dt2i_affine (SPItem const *item)
gint sp_item_event (SPItem *item, SPEvent *event)
SPItemsp_item_first_item_child (SPObject *obj)
NRArenaItemsp_item_get_arenaitem (SPItem *item, unsigned int key)
Geom::Matrix sp_item_i2d_affine (SPItem const *item)
Geom::Matrix sp_item_i2doc_affine (SPItem const *item)
void sp_item_invoke_bbox (SPItem const *item, Geom::OptRect &bbox, Geom::Matrix const &transform, unsigned const clear, SPItem::BBoxType type=SPItem::APPROXIMATE_BBOX)
void sp_item_invoke_bbox (SPItem const *item, NRRect *bbox, Geom::Matrix const &transform, unsigned const clear, SPItem::BBoxType type=SPItem::APPROXIMATE_BBOX) __attribute__((deprecated))
void sp_item_invoke_bbox_full (SPItem const *item, Geom::OptRect &bbox, Geom::Matrix const &transform, unsigned const flags, unsigned const clear)
void sp_item_invoke_bbox_full (SPItem const *item, NRRect *bbox, Geom::Matrix const &transform, unsigned const flags, unsigned const clear) __attribute__((deprecated))
void sp_item_invoke_hide (SPItem *item, unsigned int key)
void sp_item_invoke_print (SPItem *item, SPPrintContext *ctx)
NRArenaItemsp_item_invoke_show (SPItem *item, NRArena *arena, unsigned int key, unsigned int flags)
unsigned sp_item_pos_in_parent (SPItem *item)
int sp_item_repr_compare_position (SPItem *first, SPItem *second)
void sp_item_set_i2d_affine (SPItem *item, Geom::Matrix const &transform)
void sp_item_set_item_transform (SPItem *item, Geom::Matrix const &transform)
void sp_item_snappoints (SPItem const *item, std::vector< Inkscape::SnapCandidatePoint > &p, Inkscape::SnapPreferences const *snapprefs)
void sp_item_write_transform (SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const &transform, Geom::Matrix const *adv=NULL, bool compensate=true)

Detailed Description

Some things pertinent to all visible shapes: SPItem, SPItemView, SPItemCtx, SPItemClass, SPEvent.

Definition in file sp-item.h.

Generated by  Doxygen 1.6.0   Back to index