It is nice that images and other objects can be placed with a single call:
$gfx->object( $thing, $x, $y, ... )
When I have a $thing that is 100x100 and needs to be scaled 50%, then apparently I still do need to distinguish images (that need $w=50 and $h=50) from other objects (that need $scale_x=0.5 and $scale_y=0.5).
It is nice that images and other objects can be placed with a single call:
When I have a
$thing
that is 100x100 and needs to be scaled 50%, then apparently I still do need to distinguish images (that need$w=50
and$h=50
) from other objects (that need$scale_x=0.5
and$scale_y=0.5
).Am I missing something?