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

Method getSize

src/Core/Graphics/Shapes.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 Transform::UnitVector Rectangle::getSize() const
16 {
17 const sf::Vector2f pixelSize = shape.getSize();
18 return Transform::UnitVector(
19 pixelSize.x, pixelSize.y, Transform::Units::ScenePixels);
20 }
21
22 void Rectangle::setSize(Transform::UnitVector size)
23 {

Callers 8

MakeNullTextureFunction · 0.45
useTextureSizeMethod · 0.45
loadTextureMethod · 0.45
setTextureMethod · 0.45
moveToMethod · 0.45
dumpMethod · 0.45
explodeFunction · 0.45
drawMethod · 0.45

Calls 1

UnitVectorClass · 0.85

Tested by

no test coverage detected