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

Method ApplyPenAsFillColorToNode

IO/Export/vtkSVGContextDevice2D.cxx:1764–1767  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1762
1763//------------------------------------------------------------------------------
1764void vtkSVGContextDevice2D::ApplyPenAsFillColorToNode(vtkXMLDataElement* node)
1765{
1766 node->SetAttribute("fill", ColorToString(this->Pen->GetColor()).c_str());
1767}
1768
1769//------------------------------------------------------------------------------
1770void vtkSVGContextDevice2D::ApplyPenAsFillOpacityToNode(vtkXMLDataElement* node)

Callers 2

DrawPointsMethod · 0.95
DrawMarkersMethod · 0.95

Calls 4

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

Tested by

no test coverage detected