summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3b70fd)
raw | patch | inline | side by side (parent: d3b70fd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 4 Mar 2007 20:21:39 +0000 (20:21 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 4 Mar 2007 20:21:39 +0000 (20:21 +0000) |
src/sp-item.h | patch | blob | history |
diff --git a/src/sp-item.h b/src/sp-item.h
index 9aee4b30af63b415f403f387276797144aff4e4b..3b5e64b113352c4b71442290e0fd04cc60d62084 100644 (file)
--- a/src/sp-item.h
+++ b/src/sp-item.h
/** 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
};