~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-item.h

  • Committer: cilix42
  • Date: 2008-09-18 17:48:42 UTC
  • Revision ID: cilix42@users.sourceforge.net-20080918174842-1ad33a7d7gqhv2hq
Next roud of NR ==> Geom conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
struct SPItemCtx {
85
85
    SPCtx ctx;
86
86
    /** Item to document transformation */
87
 
    NR::Matrix i2doc;
 
87
    Geom::Matrix i2doc;
88
88
    /** Viewport size */
89
89
    NRRect vp;
90
90
    /** Item to viewport transformation */
91
 
    NR::Matrix i2vp;
 
91
    Geom::Matrix i2vp;
92
92
};
93
93
 
94
94
/** Abstract base class for all visible shapes. */
107
107
    double transform_center_x;
108
108
    double transform_center_y;
109
109
 
110
 
    NR::Matrix transform;
 
110
    Geom::Matrix transform;
111
111
    
112
112
    SPClipPathReference *clip_ref;
113
113
    SPMaskReference *mask_ref;
180
180
    SPObjectClass parent_class;
181
181
 
182
182
    /** BBox union in given coordinate system */
183
 
    void (* bbox) (SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const flags);
 
183
    void (* bbox) (SPItem const *item, NRRect *bbox, Geom::Matrix const &transform, unsigned const flags);
184
184
    
185
185
    /** Printing method. Assumes ctm is set to item affine matrix */
186
186
    /* \todo Think about it, and maybe implement generic export method instead (Lauris) */