MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / scale

Method scale

source/game/StarDrawable.cpp:176–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void Drawable::scale(float scaling, Vec2F const& scaleCenter) {
177 scale(Vec2F::filled(scaling), scaleCenter);
178}
179
180void Drawable::scale(Vec2F const& scaling, Vec2F const& scaleCenter) {
181 if (auto line = part.ptr<LinePart>())

Callers 15

makeImageMethod · 0.45
DrawableMethod · 0.45
renderMethod · 0.45
boundBoxMethod · 0.45
scaleAllMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
MonsterMethod · 0.45
renderMethod · 0.45
setIconDrawablesMethod · 0.45
orientationDrawablesMethod · 0.45
parseOrientationsMethod · 0.45

Calls 1

piecewiseMultiplyMethod · 0.80

Tested by

no test coverage detected