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

Method DrawString

Rendering/Context2D/vtkContext2D.cxx:627–631  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

625
626//------------------------------------------------------------------------------
627void vtkContext2D::DrawString(vtkPoints2D* point, const vtkStdString& string)
628{
629 float* f = vtkArrayDownCast<vtkFloatArray>(point->GetData())->GetPointer(0);
630 this->DrawString(f[0], f[1], string);
631}
632
633//------------------------------------------------------------------------------
634void vtkContext2D::DrawString(float x, float y, const vtkStdString& string)

Callers 12

DrawStringRectMethod · 0.95
DrawMathTextStringMethod · 0.95
RenderGL2PSMethod · 0.45
RenderGL2PSMethod · 0.45
RenderGL2PSMethod · 0.45
RenderLabelsMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45

Calls 4

vtkStdStringClass · 0.70
GetPointerMethod · 0.45
GetDataMethod · 0.45
emptyMethod · 0.45

Tested by 4

PaintMethod · 0.36
PaintMethod · 0.36
PaintMethod · 0.36
PaintMethod · 0.36