One timeline item after a front-end projects it into pixel space. More...
#include <hit_test.hpp>
Public Member Functions | |
| constexpr bool | operator== (const ProjectedHitCandidate &) const =default |
Public Attributes | |
| timeline::ItemId | item {} |
| float | left_px = 0.0f |
| float | top_px = 0.0f |
| float | right_px = 0.0f |
| float | bottom_px = 0.0f |
One timeline item after a front-end projects it into pixel space.
Bounds are half-open: the left and top edges belong to the candidate, while the right and bottom edges do not. Candidates are supplied in paint order, from back to front, so an exact geometric tie resolves to the later item.
|
constexprdefault |
| float pulp::timeline_editor::ProjectedHitCandidate::bottom_px = 0.0f |
| timeline::ItemId pulp::timeline_editor::ProjectedHitCandidate::item {} |
| float pulp::timeline_editor::ProjectedHitCandidate::left_px = 0.0f |
| float pulp::timeline_editor::ProjectedHitCandidate::right_px = 0.0f |
| float pulp::timeline_editor::ProjectedHitCandidate::top_px = 0.0f |