------------------------------------------------------------------------------
| 1774 | |
| 1775 | //------------------------------------------------------------------------------ |
| 1776 | void vtkPDFContextDevice2D::RegisterTexturePoints(float* data, int numPoints) |
| 1777 | { |
| 1778 | if (this->IsInTexturedFill) |
| 1779 | { |
| 1780 | for (int i = 0; i < numPoints; ++i) |
| 1781 | { |
| 1782 | this->TextureBounds[0] = std::min(this->TextureBounds[0], data[2 * i]); |
| 1783 | this->TextureBounds[1] = std::max(this->TextureBounds[1], data[2 * i]); |
| 1784 | this->TextureBounds[2] = std::min(this->TextureBounds[2], data[2 * i + 1]); |
| 1785 | this->TextureBounds[3] = std::max(this->TextureBounds[3], data[2 * i + 1]); |
| 1786 | } |
| 1787 | } |
| 1788 | } |
| 1789 | |
| 1790 | //------------------------------------------------------------------------------ |
| 1791 | void vtkPDFContextDevice2D::FillTexture() |
no test coverage detected