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

Method DrawStringRect

Rendering/Context2D/vtkContext2D.cxx:601–605  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

599
600//------------------------------------------------------------------------------
601void vtkContext2D::DrawStringRect(vtkPoints2D* rect, const vtkStdString& string)
602{
603 vtkVector2f p = this->CalculateTextPosition(rect);
604 this->DrawString(p.GetX(), p.GetY(), string);
605}
606
607//------------------------------------------------------------------------------
608void vtkContext2D::DrawStringRect(vtkPoints2D* rect, const char* string)

Callers 5

PaintMethod · 0.80
PaintMethod · 0.80
PaintMethod · 0.80
PaintMethod · 0.80
PaintMethod · 0.80

Calls 4

CalculateTextPositionMethod · 0.95
DrawStringMethod · 0.95
vtkStdStringClass · 0.70
GetXMethod · 0.45

Tested by

no test coverage detected