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

Method Paint

Views/Infovis/vtkGraphItem.cxx:258–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258bool vtkGraphItem::Paint(vtkContext2D* painter)
259{
260 if (this->IsDirty())
261 {
262 this->RebuildBuffers();
263 }
264 this->PaintBuffers(painter);
265 this->PaintChildren(painter);
266
267 // Keep the current scale so we can use it in event handlers.
268 painter->GetTransform()->GetScale(this->Internal->CurrentScale);
269
270 return true;
271}
272
273void vtkGraphItem::ProcessEvents(
274 vtkObject* vtkNotUsed(caller), unsigned long event, void* clientData, void* callerData)

Callers

nothing calls this directly

Calls 6

IsDirtyMethod · 0.95
RebuildBuffersMethod · 0.95
PaintBuffersMethod · 0.95
PaintChildrenMethod · 0.80
GetScaleMethod · 0.45
GetTransformMethod · 0.45

Tested by

no test coverage detected