Stroke-width is not accounted for in make-raster size of images
https://www.facebook.com/groups/716000085655097/permalink/952890345299402/

Seems to arise in the wild where people would like to raster their shapes correctly.
diff --git a/meerk40t/core/elements.py b/meerk40t/core/elements.py
index a06e382b4..c41fa8cfd 100644
--- a/meerk40t/core/elements.py
+++ b/meerk40t/core/elements.py
@@ -3064,12 +3064,15 @@ class Elemental(Modifier):
             context = self.context
             if data is None:
                 data = list(self.elems(emphasized=True))
+            reverse = context.classify_reverse
+            if reverse:
+                data = list(reversed(data))
             elements = context.elements
             make_raster = self.context.registered.get("render-op/make_raster")
             if not make_raster:
                 channel(_("No renderer is registered to perform render."))
                 return
-            bounds = Group.union_bbox(data)
+            bounds = Group.union_bbox(data, with_stroke=True)
             if bounds is None:
                 return
             if step <= 0:
@@ -5085,8 +5088,11 @@ class Elemental(Modifier):
             context = self.context
             elements = context.elements
             subitems = list(node.flat(types=("elem", "opnode")))
+            reverse = self.context.classify_reverse
+            if reverse:
+                subitems = list(reversed(subitems))
             make_raster = self.context.registered.get("render-op/make_raster")
-            bounds = Group.union_bbox([s.object for s in subitems])
+            bounds = Group.union_bbox([s.object for s in subitems], with_stroke=True)
             if bounds is None:
                 return
             step = float(node.settings.raster_step)
diff --git a/meerk40t/core/planner.py b/meerk40t/core/planner.py
index dd3857211..010abb1be 100644
--- a/meerk40t/core/planner.py
+++ b/meerk40t/core/planner.py
@@ -505,7 +505,7 @@ class CutPlan:
             subitems = list(reversed(subitems))
         make_raster = self.context.registered.get("render-op/make_raster")
         objs = [s.object for s in subitems]
-        bounds = Group.union_bbox(objs)
+        bounds = Group.union_bbox(objs, with_stroke=True)
         if bounds is None:
             return None
         xmin, ymin, xmax, ymax = bounds
['meerk40t/core/elements.py', 'meerk40t/core/planner.py']