MCPcopy Create free account
hub / github.com/Kitware/VTK / ApplyBrushState

Method ApplyBrushState

IO/ExportPDF/vtkPDFContextDevice2D.cxx:1675–1683  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1673
1674//------------------------------------------------------------------------------
1675void vtkPDFContextDevice2D::ApplyBrushState()
1676{
1677 this->ApplyFillColor(this->Brush->GetColorObject().GetData(), 4);
1678
1679 if (this->Brush->GetTexture())
1680 {
1681 this->BeginClipPathForTexture();
1682 }
1683}
1684
1685//------------------------------------------------------------------------------
1686void vtkPDFContextDevice2D::ApplyTextPropertyState()

Callers 5

DrawQuadMethod · 0.95
DrawQuadStripMethod · 0.95
DrawPolygonMethod · 0.95
DrawEllipseWedgeMethod · 0.95
DrawEllipticArcMethod · 0.95

Calls 5

ApplyFillColorMethod · 0.95
GetDataMethod · 0.45
GetColorObjectMethod · 0.45
GetTextureMethod · 0.45

Tested by

no test coverage detected