MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setSize

Method setSize

src/Core/Transform/Rect.cpp:197–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 void Rect::setSize(const UnitVector& size, const Referential& ref)
198 {
199 const UnitVector savePosition = this->getPosition(ref);
200 m_size.set(size);
201 this->setPosition(savePosition, ref);
202 }
203
204 void Rect::setPosition(const UnitVector& position)
205 {

Callers 1

setPointPositionMethod · 0.95

Calls 3

getPositionMethod · 0.95
setPositionMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected