drawing-item.h revision d1bde559850436556ebee2e70e10f1cfc8aff636
044d712d4d03f8354962d54e47cfac2346a69ccccilix * @brief Canvas item belonging to an SVG drawing element
044d712d4d03f8354962d54e47cfac2346a69ccccilix * Krzysztof KosiĆski <tweenk.pl@gmail.com>
044d712d4d03f8354962d54e47cfac2346a69ccccilix * Copyright (C) 2011 Authors
044d712d4d03f8354962d54e47cfac2346a69ccccilix * Released under GNU GPL, read the file 'COPYING' for more information
044d712d4d03f8354962d54e47cfac2346a69ccccilixvoid nr_arena_set_cache_limit(NRArena *, Geom::OptIntRect const &);
044d712d4d03f8354962d54e47cfac2346a69ccccilix return "Invalid item in drawing";
3cfad782faf34c654ec837780ed7b3fe95e82c2eJohan B. C. Engelentypedef boost::intrusive::list_base_hook<> ChildrenListHook;
57678273bfa80d2feb4fa17ac25818f277f5c684cilix STATE_BBOX = (1<<0), // geometric bounding box is up-to-date
57678273bfa80d2feb4fa17ac25818f277f5c684cilix STATE_DRAWBOX = (1<<1), // visual bounding box is up-to-date
d4200d96d8369f38efb722b04869b360388eeb80cilix STATE_CACHE = (1<<2), // cache extents and clean area are up-to-date
044d712d4d03f8354962d54e47cfac2346a69ccccilix typedef boost::intrusive::list<DrawingItem> ChildrenList;
044d712d4d03f8354962d54e47cfac2346a69ccccilix Geom::OptIntRect geometricBounds() const { return _bbox; }
044d712d4d03f8354962d54e47cfac2346a69ccccilix Geom::OptIntRect visualBounds() const { return _drawbox; }
044d712d4d03f8354962d54e47cfac2346a69ccccilix Geom::OptRect itemBounds() const { return _item_bbox; }
044d712d4d03f8354962d54e47cfac2346a69ccccilix Geom::Affine transform() const { return _transform ? *_transform : Geom::identity(); }
044d712d4d03f8354962d54e47cfac2346a69ccccilix void setVisible(bool v);
void setSensitive(bool v);
void setCached(bool c);
void setZOrder(unsigned z);
void update(Geom::IntRect const &area = Geom::IntRect::infinite(), UpdateContext const &ctx = UpdateContext(), unsigned flags = STATE_ALL, unsigned reset = 0);
void _markForRendering();
float _opacity;
struct DeleteDisposer {