From bec730e7ac065bd71eb32afa2f3d47d3f9576559 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 4 Mar 2007 20:21:39 +0000 Subject: [PATCH] comment on bbox types --- src/sp-item.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }; -- 2.30.2