VTK
9.1.0
|
#include <vtkTextRenderer.h>
Public Member Functions | |
Metrics () | |
Construct a Metrics object with all members initialized to 0. | |
Public Attributes | |
vtkTuple< int, 4 > | BoundingBox |
The axis-aligned bounding box of the rendered text and background, in pixels. | |
vtkVector2i | TopLeft |
The corners of the rendered text (or background, if applicable), in pixels. | |
vtkVector2i | TopRight |
The corners of the rendered text (or background, if applicable), in pixels. | |
vtkVector2i | BottomLeft |
The corners of the rendered text (or background, if applicable), in pixels. | |
vtkVector2i | BottomRight |
The corners of the rendered text (or background, if applicable), in pixels. | |
vtkVector2i | Ascent |
Vectors representing the rotated ascent and descent of the text. | |
vtkVector2i | Descent |
Vectors representing the rotated ascent and descent of the text. | |
Definition at line 77 of file vtkTextRenderer.h.
|
inline |
Construct a Metrics object with all members initialized to 0.
Definition at line 82 of file vtkTextRenderer.h.
vtkTuple<int, 4> vtkTextRenderer::Metrics::BoundingBox |
The axis-aligned bounding box of the rendered text and background, in pixels.
The origin of the bounding box is the anchor point of the data when considering justification. Layout is { xMin, xMax, yMin, yMax }.
Definition at line 98 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::TopLeft |
The corners of the rendered text (or background, if applicable), in pixels.
Uses the same origin as BoundingBox.
Definition at line 105 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::TopRight |
The corners of the rendered text (or background, if applicable), in pixels.
Uses the same origin as BoundingBox.
Definition at line 106 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::BottomLeft |
The corners of the rendered text (or background, if applicable), in pixels.
Uses the same origin as BoundingBox.
Definition at line 107 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::BottomRight |
The corners of the rendered text (or background, if applicable), in pixels.
Uses the same origin as BoundingBox.
Definition at line 108 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::Ascent |
Vectors representing the rotated ascent and descent of the text.
This is the distance above or below the baseline. Not all backends support this, and may leave these vectors set to 0.
Definition at line 117 of file vtkTextRenderer.h.
vtkVector2i vtkTextRenderer::Metrics::Descent |
Vectors representing the rotated ascent and descent of the text.
This is the distance above or below the baseline. Not all backends support this, and may leave these vectors set to 0.
Definition at line 118 of file vtkTextRenderer.h.