VTK
|
#include <vtkTextRenderer.h>
Public Member Functions | |
Metrics () | |
Construct a Metrics object with all members initialized to 0. More... | |
Public Attributes | |
vtkTuple< int, 4 > | BoundingBox |
The axis-aligned bounding box of the rendered text and background, in pixels. More... | |
vtkVector2i | TopLeft |
The corners of the rendered text (or background, if applicable), in pixels. More... | |
vtkVector2i | TopRight |
The corners of the rendered text (or background, if applicable), in pixels. More... | |
vtkVector2i | BottomLeft |
The corners of the rendered text (or background, if applicable), in pixels. More... | |
vtkVector2i | BottomRight |
The corners of the rendered text (or background, if applicable), in pixels. More... | |
Definition at line 78 of file vtkTextRenderer.h.
|
inline |
Construct a Metrics object with all members initialized to 0.
Definition at line 83 of file vtkTextRenderer.h.
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 94 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 101 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 102 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 103 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 104 of file vtkTextRenderer.h.