------------------------------------------------------------------------------
| 1418 | |
| 1419 | //------------------------------------------------------------------------------ |
| 1420 | void vtkSVGContextDevice2D::DrawImage(float p[2], float scale, vtkImageData* image) |
| 1421 | { |
| 1422 | int dims[3]; |
| 1423 | image->GetDimensions(dims); |
| 1424 | dims[0] *= scale; |
| 1425 | dims[1] *= scale; |
| 1426 | this->DrawImage(vtkRectf(p[0], p[1], dims[0], dims[1]), image); |
| 1427 | } |
| 1428 | |
| 1429 | //------------------------------------------------------------------------------ |
| 1430 | void vtkSVGContextDevice2D::DrawImage(const vtkRectf& pos, vtkImageData* image) |