------------------------------------------------------------------------------
| 1493 | |
| 1494 | //------------------------------------------------------------------------------ |
| 1495 | void vtkSVGContextDevice2D::SetMatrix(vtkMatrix3x3* m) |
| 1496 | { |
| 1497 | // Adjust the transform to account for the fact that SVG's y-axis is reversed: |
| 1498 | std::array<double, 9> mat3; |
| 1499 | vtkSVGContextDevice2D::AdjustMatrixForSVG(m->GetData(), mat3.data()); |
| 1500 | |
| 1501 | std::array<double, 16> mat4; |
| 1502 | vtkSVGContextDevice2D::Matrix3ToMatrix4(mat3.data(), mat4.data()); |
| 1503 | |
| 1504 | this->Matrix->SetMatrix(mat4.data()); |
| 1505 | this->ApplyTransform(); |
| 1506 | } |
| 1507 | |
| 1508 | //------------------------------------------------------------------------------ |
| 1509 | void vtkSVGContextDevice2D::GetMatrix(vtkMatrix3x3* mat3) |