~7-eric/inkscape/boolop-fix

« back to all changes in this revision

Viewing changes to src/document.h

Merge Google Summer of Code unit refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class  SPObject;
36
36
struct SPGroup;
37
37
struct SPRoot;
38
 
struct SPUnit;
39
38
 
40
39
namespace Inkscape {
41
40
    struct Application;
47
46
        struct Document;
48
47
        class Node;
49
48
    }
 
49
    namespace Util {
 
50
        class Quantity;
 
51
    }
50
52
}
51
53
 
52
54
class SPDefs;
229
231
    gdouble getHeight() const;
230
232
    Geom::Point getDimensions() const;
231
233
    Geom::OptRect preferredBounds() const;
232
 
    void setWidth(gdouble width, const SPUnit *unit);
233
 
    void setHeight(gdouble height, const SPUnit *unit);
 
234
    void setWidth(const Inkscape::Util::Quantity &width);
 
235
    void setHeight(const Inkscape::Util::Quantity &height);
234
236
    void requestModified();
235
237
    gint ensureUpToDate();
236
238
    bool addResource(const gchar *key, SPObject *object);
254
256
    void setupViewport(SPItemCtx *ctx);
255
257
};
256
258
 
257
 
struct SPUnit;
258
 
 
259
259
/*
260
260
 * Ideas: How to overcome style invalidation nightmare
261
261
 *