Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::SelectionBoundsCache Struct Reference

Pending/displayed selection AABBs tracked across document-version changes. More...

#include "donner/editor/SelectionAabb.h"

Public Attributes

std::vector< svg::SVGElement > lastSelection
 Selection used to compute the cached bounds.
std::vector< Box2d > pendingBoundsDoc
 Document-space selection bounds waiting for presentation.
std::vector< Box2d > pendingOccludingBoundsDoc
 Document-space bounds used for pending overlay occlusion.
std::uint64_t pendingVersion = 0
 Document frame version associated with the pending bounds.
std::vector< Box2d > displayedBoundsDoc
 Selection bounds associated with the displayed frame.
std::vector< Box2d > displayedOccludingBoundsDoc
 Occluding bounds associated with the displayed frame.
std::uint64_t lastRefreshVersion
 Document frame version of the most recent bounds refresh.

Detailed Description

Pending/displayed selection AABBs tracked across document-version changes.

Member Data Documentation

◆ displayedBoundsDoc

std::vector<Box2d> donner::editor::SelectionBoundsCache::displayedBoundsDoc

Selection bounds associated with the displayed frame.

◆ displayedOccludingBoundsDoc

std::vector<Box2d> donner::editor::SelectionBoundsCache::displayedOccludingBoundsDoc

Occluding bounds associated with the displayed frame.

◆ lastRefreshVersion

std::uint64_t donner::editor::SelectionBoundsCache::lastRefreshVersion
Initial value:
=
std::numeric_limits<std::uint64_t>::max()

Document frame version of the most recent bounds refresh.

◆ lastSelection

std::vector<svg::SVGElement> donner::editor::SelectionBoundsCache::lastSelection

Selection used to compute the cached bounds.

◆ pendingBoundsDoc

std::vector<Box2d> donner::editor::SelectionBoundsCache::pendingBoundsDoc

Document-space selection bounds waiting for presentation.

◆ pendingOccludingBoundsDoc

std::vector<Box2d> donner::editor::SelectionBoundsCache::pendingOccludingBoundsDoc

Document-space bounds used for pending overlay occlusion.

◆ pendingVersion

std::uint64_t donner::editor::SelectionBoundsCache::pendingVersion = 0

Document frame version associated with the pending bounds.


The documentation for this struct was generated from the following file: