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

Function StringToPath

Rendering/Core/vtkTextRenderer.h:244–248  ·  view source on GitHub ↗

@{ * Given a text property and a string, this function populates the vtkPath * path with the outline of the rendered string. The origin of the path * coordinates is aligned with the anchor point described by the text * property's horizontal and vertical justification options. * Return true on success, false otherwise. */

Source from the content-addressed store, hash-verified

242 * Return true on success, false otherwise.
243 */
244 bool StringToPath(
245 vtkTextProperty* tprop, const vtkStdString& str, vtkPath* path, int dpi, int backend = Default)
246 {
247 return this->StringToPathInternal(tprop, str, path, dpi, backend);
248 }
249 ///@}
250
251 /**

Callers

nothing calls this directly

Calls 1

StringToPathInternalMethod · 0.45

Tested by

no test coverage detected