Code

Node tool: fix handle retraction with non-cusp nodes
[inkscape.git] / src / live_effects / lpegroupbbox.h
1 #ifndef INKSCAPE_LPEGROUPBBOX_H
2 #define INKSCAPE_LPEGROUPBBOX_H
4 /*
5  * Inkscape::LivePathEffect_group_bbox
6  *
7  * Copyright (C) Steren Giannini 2008 <steren.giannini@gmail.com>
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10  */
11 #include "sp-lpe-item.h"
13 #include <2geom/interval.h>
15 namespace Inkscape {
16 namespace LivePathEffect {
18 class GroupBBoxEffect {
19 protected:
20         // Bounding box of the item the path effect is applied on
21     Geom::Interval boundingbox_X;
22     Geom::Interval boundingbox_Y;
24         //This sets boundingbox_X and boundingbox_Y
25     void original_bbox(SPLPEItem *lpeitem, bool absolute = false);
26 };
28 }; //namespace LivePathEffect
29 }; //namespace Inkscape
31 #endif