| 256 | } |
| 257 | |
| 258 | bool 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 | |
| 273 | void vtkGraphItem::ProcessEvents( |
| 274 | vtkObject* vtkNotUsed(caller), unsigned long event, void* clientData, void* callerData) |
nothing calls this directly
no test coverage detected