Exemple #1
0
	const Matrix &Drawable::getMatrix()
	{
		if (update)
		{
			matrix.setTransformation(x, y, rotation, scaleX, scaleY, offsetX, offsetY, skewX, skewY);
			onMatrixChange(matrix);
			update = false;
		}
		return matrix;
	}
void SVGTransform::setMatrix(const AffineTransform& matrix)
{
    onMatrixChange();
    m_matrix = matrix;
}