fix width, height and size for trimmed sprites
refactor trimming
minor
remove size() method
implement XForm.*2() discarding z component
fix variable shadowing with uniform scaling
adopt to haxe naming scheme
add SpriteBase.size()