------------------------------------------------------------------------------
| 2955 | |
| 2956 | //------------------------------------------------------------------------------ |
| 2957 | void vtkOpenGLContextDevice2D::TransformPoint(float& x, float& y) const |
| 2958 | { |
| 2959 | double modelview[16]; |
| 2960 | vtkMatrix4x4::DeepCopy(modelview, this->ModelMatrix->GetMatrix()); |
| 2961 | |
| 2962 | float inX = x; |
| 2963 | float inY = y; |
| 2964 | x = modelview[0] * inX + modelview[1] * inY + modelview[3]; |
| 2965 | y = modelview[4] * inX + modelview[5] * inY + modelview[7]; |
| 2966 | } |
| 2967 | |
| 2968 | //------------------------------------------------------------------------------ |
| 2969 | void vtkOpenGLContextDevice2D::TransformSize(float& dx, float& dy) const |
no test coverage detected