MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ImGuiMeasurementIndicators::Text::Line Struct Reference

#include <MRImGuiMeasurementIndicators.h>

Public Attributes

std::vector< Elemelems
 
ImVec2 size = ImVec2( -1, 0 )
 
ImVec2 align
 
ImVec2 computedSize
 The computed content size. Read-only. Don't set manually, update() sets this.
 
ImVec2 computedSizeWithPadding
 Read-only, don't set manually. This is typically max( size, computedSize ), with additional adjustments.
 

Member Data Documentation

◆ align

ImVec2 MR::ImGuiMeasurementIndicators::Text::Line::align

Alignment. Only makes sense if size is set. [0,0] = top-left, [1,1] = bottom-right.

◆ computedSize

ImVec2 MR::ImGuiMeasurementIndicators::Text::Line::computedSize
mutable

The computed content size. Read-only. Don't set manually, update() sets this.

◆ computedSizeWithPadding

ImVec2 MR::ImGuiMeasurementIndicators::Text::Line::computedSizeWithPadding
mutable

Read-only, don't set manually. This is typically max( size, computedSize ), with additional adjustments.

◆ elems

std::vector<Elem> MR::ImGuiMeasurementIndicators::Text::Line::elems

◆ size

ImVec2 MR::ImGuiMeasurementIndicators::Text::Line::size = ImVec2( -1, 0 )

The minimum element size. Has no effect if smaller than computedSize. Here if X is negative, inherits the text width.


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