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

Method ApplyPenColorToNode

IO/Export/vtkSVGContextDevice2D.cxx:1698–1701  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1696
1697//------------------------------------------------------------------------------
1698void vtkSVGContextDevice2D::ApplyPenColorToNode(vtkXMLDataElement* node)
1699{
1700 node->SetAttribute("stroke", ColorToString(this->Pen->GetColor()).c_str());
1701}
1702
1703//------------------------------------------------------------------------------
1704void vtkSVGContextDevice2D::ApplyPenOpacityToNode(vtkXMLDataElement* node)

Callers 2

DrawMarkersMethod · 0.95
ApplyPenStateToNodeMethod · 0.95

Calls 4

ColorToStringFunction · 0.70
SetAttributeMethod · 0.45
c_strMethod · 0.45
GetColorMethod · 0.45

Tested by

no test coverage detected