matrix.scale(scaling.getX(), scaling.getY(), scaling.getCenterX(), scaling.getCenterY());
deltaScaleX *= scaling.getX();
deltaScaleY *= scaling.getY();
}
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());
}