canvas: when an item has its bbox marked dirty, this should propagate to all parents

This commit is contained in:
Paul Davis 2022-04-26 21:57:39 -06:00
parent d54d63da3a
commit c75ceb31ab
16 changed files with 71 additions and 58 deletions

View file

@ -191,7 +191,7 @@ Rectangle::set (Rect const & r)
_rect = r;
_bounding_box_dirty = true;
set_bbox_dirty ();
end_change ();
}
}
@ -204,7 +204,7 @@ Rectangle::set_x0 (Coord x0)
_rect.x0 = x0;
_bounding_box_dirty = true;
set_bbox_dirty ();
end_change ();
}
}
@ -217,7 +217,7 @@ Rectangle::set_y0 (Coord y0)
_rect.y0 = y0;
_bounding_box_dirty = true;
set_bbox_dirty ();
end_change();
}
}
@ -230,7 +230,7 @@ Rectangle::set_x1 (Coord x1)
_rect.x1 = x1;
_bounding_box_dirty = true;
set_bbox_dirty ();
end_change ();
}
}
@ -243,7 +243,7 @@ Rectangle::set_y1 (Coord y1)
_rect.y1 = y1;
_bounding_box_dirty = true;
set_bbox_dirty ();
end_change ();
}
}