MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / top_left

Method top_left

src/timeline/src/item.cpp:1524–1535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1522
1523
1524std::optional<timeline::Point> Item::top_left(const Uuid &_uuid) const {
1525
1526 if (_uuid == uuid()) {
1527 return top_left();
1528 } else {
1529 auto b = box(_uuid);
1530 if (b)
1531 return b->first;
1532 }
1533
1534 return {};
1535}
1536
1537timeline::Point Item::top_left() const { return std::make_pair(0, 0); }
1538

Callers 1

TESTFunction · 0.80

Calls 1

uuidClass · 0.50

Tested by 1

TESTFunction · 0.64