------------------------------------------------------------------------------
| 531 | |
| 532 | //------------------------------------------------------------------------------ |
| 533 | double* vtkLegendBoxActor::GetEntryColor(int i) |
| 534 | { |
| 535 | if (i < 0 || i >= this->NumberOfEntries) |
| 536 | { |
| 537 | return nullptr; |
| 538 | } |
| 539 | else |
| 540 | { |
| 541 | return vtkArrayDownCast<vtkDoubleArray>(this->Colors)->GetPointer(i * 3); |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | //------------------------------------------------------------------------------ |
| 546 | // Release any graphics resources that are being consumed by this actor. |
no test coverage detected