VTK
Public Member Functions | Public Attributes | List of all members
vtkTextRenderer::Metrics Struct Reference

#include <vtkTextRenderer.h>

Collaboration diagram for vtkTextRenderer::Metrics:
[legend]

Public Member Functions

 Metrics ()
 

Public Attributes

vtkTuple< int, 4 > BoundingBox
 
vtkVector2i TopLeft
 
vtkVector2i TopRight
 
vtkVector2i BottomLeft
 
vtkVector2i BottomRight
 

Detailed Description

Definition at line 77 of file vtkTextRenderer.h.

Constructor & Destructor Documentation

◆ Metrics()

vtkTextRenderer::Metrics::Metrics ( )
inline

Construct a Metrics object with all members initialized to 0.

Definition at line 81 of file vtkTextRenderer.h.

Member Data Documentation

◆ BoundingBox

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 92 of file vtkTextRenderer.h.

◆ TopLeft

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 97 of file vtkTextRenderer.h.

◆ TopRight

vtkVector2i vtkTextRenderer::Metrics::TopRight

Definition at line 98 of file vtkTextRenderer.h.

◆ BottomLeft

vtkVector2i vtkTextRenderer::Metrics::BottomLeft

Definition at line 99 of file vtkTextRenderer.h.

◆ BottomRight

vtkVector2i vtkTextRenderer::Metrics::BottomRight

Definition at line 100 of file vtkTextRenderer.h.


The documentation for this struct was generated from the following file: