}
if (translation != null) {
matrix.translate(translation.getX(), translation.getY());
}
if (viewBoxShift != null) {
matrix.scale(viewBoxShift.getX(), viewBoxShift.getY(), -1, -1);
matrix.add(1, 0, 0, 1, viewBoxShift.getCenterX(), viewBoxShift.getCenterY());
}
if (!(sprite instanceof ImageSprite) && skew != null) {
// matrix transform via VML skew