Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDAB/GammaRay
/ origin
Method
origin
core/paintbuffer.cpp:348–354 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
346
}
347
348
ObjectId PaintBuffer::origin(int index) const
349
{
350
if (index < 0 || index >= m_origins.size()) {
351
return ObjectId();
352
}
353
return m_origins.at(index);
354
}
355
356
void PaintBuffer::setOrigin(const ObjectId &obj)
357
{
Callers
1
data
Method · 0.80
Calls
2
ObjectId
Class · 0.50
size
Method · 0.45
Tested by
no test coverage detected