dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Transformable.setScale
Dgame
Graphic
Transformable
Transformable
Sets the scaling (for both, x and y)
void
setScale
(
float
x
,
float
y
)
void
setScale
(
const
Vector2f
offset
)
class
Transformable
final @
nogc
void
setScale
pure nothrow
(
const
Vector2f
offset
)
Meta
Source
See Implementation
Dgame
Graphic
Transformable
Transformable
functions
getMatrix
getOrigin
getPosition
getRotation
getRotationCenter
getScale
move
rotate
scale
setOrigin
setPosition
setRotation
setRotationCenter
setScale
properties
x
y
Sets the scaling (for both, x and y)