LeviLamina
Loading...
Searching...
No Matches
MeasureResult.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5struct MeasureResult {
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<8, 32, ::std::string> mFormattedText;
10 ::ll::TypedStorage<4, 8, ::glm::vec2> mSize;
11 ::ll::TypedStorage<8, 24, ::std::vector<int>> mCaretOffsets;
12 ::ll::TypedStorage<4, 4, float> mCaretHeightOffset;
13 ::ll::TypedStorage<4, 4, float> mLineHeight;
14 ::ll::TypedStorage<1, 1, bool> mUsingEllipses;
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI MeasureResult(
25 ::std::string formattedText,
26 ::glm::vec2 const& size,
27 ::std::vector<int> caretOffsets,
28 float caretHeightOffset,
29 bool usingEllipses,
30 float lineHeight
31 );
32
33 MCAPI ~MeasureResult();
34 // NOLINTEND
35
36public:
37 // constructor thunks
38 // NOLINTBEGIN
39 MCAPI void* $ctor(
40 ::std::string formattedText,
41 ::glm::vec2 const& size,
42 ::std::vector<int> caretOffsets,
43 float caretHeightOffset,
44 bool usingEllipses,
45 float lineHeight
46 );
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54};
Definition MeasureResult.h:5