summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-04 20:21:39 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-04 20:21:39 +0000
commitf5d19d58ae37c6d7d6c22160752166c79b547018 (patch)
tree1374c8706105bcd2b97fec5dff13e9353bdc494c /src
parentmore NR::Maybe<NR::Rect> work (diff)
downloadinkscape-f5d19d58ae37c6d7d6c22160752166c79b547018.tar.gz
inkscape-f5d19d58ae37c6d7d6c22160752166c79b547018.zip
comment on bbox types
(bzr r2544)
Diffstat (limited to 'src')
-rw-r--r--src/sp-item.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sp-item.h b/src/sp-item.h
index 9aee4b30a..3b5e64b11 100644
--- a/src/sp-item.h
+++ b/src/sp-item.h
@@ -91,8 +91,11 @@ struct SPItemCtx {
/** Abstract base class for all visible shapes. */
struct SPItem : public SPObject {
enum BBoxType {
- APPROXIMATE_BBOX,
+ // legacy behavior: includes crude stroke, markers; excludes long miters, blur margin; is known to be wrong for caps
+ APPROXIMATE_BBOX,
+ // includes only the bare path bbox, no stroke, no nothing
GEOMETRIC_BBOX,
+ // includes everything: correctly done stroke (with proper miters and caps), markers, filter margins (e.g. blur)
RENDERING_BBOX
};