Merged _gdScaleRow() and _gdScaleCol() into _gdScaleOneAxis().