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

Method BeginClipPathForTexture

IO/ExportPDF/vtkPDFContextDevice2D.cxx:1765–1773  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1763
1764//------------------------------------------------------------------------------
1765void vtkPDFContextDevice2D::BeginClipPathForTexture()
1766{
1767 assert(!this->IsInTexturedFill);
1768 this->IsInTexturedFill = true;
1769 this->TextureBounds[0] = this->TextureBounds[2] = VTK_FLOAT_MAX;
1770 this->TextureBounds[1] = this->TextureBounds[3] = VTK_FLOAT_MIN;
1771 this->PushGraphicsState(); // so we can pop the clip path
1772 this->ApplyFillAlpha(255); // Match the OpenGL implementation
1773}
1774
1775//------------------------------------------------------------------------------
1776void vtkPDFContextDevice2D::RegisterTexturePoints(float* data, int numPoints)

Callers 1

ApplyBrushStateMethod · 0.95

Calls 3

PushGraphicsStateMethod · 0.95
ApplyFillAlphaMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected