------------------------------------------------------------------------------
| 1684 | |
| 1685 | //------------------------------------------------------------------------------ |
| 1686 | void vtkPDFContextDevice2D::ApplyTextPropertyState() |
| 1687 | { |
| 1688 | unsigned char rgba[4] = { static_cast<unsigned char>(this->TextProp->GetColor()[0] * 255.), |
| 1689 | static_cast<unsigned char>(this->TextProp->GetColor()[1] * 255.), |
| 1690 | static_cast<unsigned char>(this->TextProp->GetColor()[2] * 255.), |
| 1691 | static_cast<unsigned char>(this->TextProp->GetOpacity() * 255.) }; |
| 1692 | |
| 1693 | this->ApplyFillColor(rgba, 4); |
| 1694 | } |
| 1695 | |
| 1696 | //------------------------------------------------------------------------------ |
| 1697 | void vtkPDFContextDevice2D::ApplyFillColor(unsigned char* color, int numComps) |
no test coverage detected