MCPcopy 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
348ObjectId 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
356void PaintBuffer::setOrigin(const ObjectId &obj)
357{

Callers 1

dataMethod · 0.80

Calls 2

ObjectIdClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected