separate scale to scaleX and scaleY

Separate scale to scaleX and scaleX.
This patch breaks API compatibility.
A layer scale is not separated yet. If do it, new layout mode must be added.