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

Method PrepareToPaint

Views/Infovis/vtkDendrogramItem.cxx:194–201  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

192
193//------------------------------------------------------------------------------
194void vtkDendrogramItem::PrepareToPaint(vtkContext2D* painter)
195{
196 if (this->IsDirty())
197 {
198 this->RebuildBuffers();
199 }
200 this->ComputeLabelWidth(painter);
201}
202
203//------------------------------------------------------------------------------
204bool vtkDendrogramItem::IsDirty()

Callers 4

PaintMethod · 0.95
PaintMethod · 0.80
RefreshBuffersMethod · 0.80
PaintMethod · 0.80

Calls 3

IsDirtyMethod · 0.95
RebuildBuffersMethod · 0.95
ComputeLabelWidthMethod · 0.95

Tested by

no test coverage detected