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

Method SetHaruObjects

IO/ExportPDF/vtkPDFContextDevice2D.cxx:645–658  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

643
644//------------------------------------------------------------------------------
645void vtkPDFContextDevice2D::SetHaruObjects(void* doc, void* page)
646{
647 if (page && doc)
648 {
649 this->Impl->Document = *static_cast<HPDF_Doc*>(doc);
650 this->Impl->Page = *static_cast<HPDF_Page*>(page);
651 }
652 else
653 {
654 this->Impl->Document = nullptr;
655 this->Impl->Page = nullptr;
656 }
657 this->Impl->AlphaGStateMap.clear();
658}
659
660//------------------------------------------------------------------------------
661void vtkPDFContextDevice2D::DrawPoly(float* points, int n, unsigned char* colors, int nc_comps)

Callers 1

RenderContextActorMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected