@{ * Given a text property and a string, this function initializes the * vtkImageData *data and renders it in a vtkImageData. * Return true on success, false otherwise. If using the overload that * specifies "textDims", the array will be overwritten with the pixel width * and height defining a tight bounding box around the text in the image, * starting from the upper-right corner. T
| 212 | * options. |
| 213 | */ |
| 214 | bool RenderString(vtkTextProperty* tprop, const vtkStdString& str, vtkImageData* data, |
| 215 | int textDims[2], int dpi, int backend = Default) |
| 216 | { |
| 217 | return this->RenderStringInternal(tprop, str, data, textDims, dpi, backend); |
| 218 | } |
| 219 | ///@} |
| 220 | |
| 221 | ///@{ |
nothing calls this directly
no test coverage detected