Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/Common
References
| Module | TraceInsights |
| Header | /Engine/Source/Developer/TraceInsights/Public/Insights/Common/PaintUtils.h |
| Include | #include "Insights/Common/PaintUtils.h" |
Syntax
struct FDrawContext
Remarks
Holds current state provided by OnPaint function, used to simplify drawing.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FSlateRect & | CullingRect | ||
| const ESlateDrawEffect | DrawEffects | ||
| FSlateWindowElementList & | ElementList | ||
| const FGeometry & | Geometry | Accessors. | |
| int32 & | LayerId | ||
| const FWidgetStyle & | WidgetStyle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDrawContext
(
const FDrawContext& |
Non-copyable | ||
FDrawContext
(
const FGeometry& InGeometry, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DrawBox
(
const float X, |
||
| void | DrawBox
(
const int32 InLayer, |
||
| void | DrawLines
(
uint32 InLayer, |
||
| void | DrawRotatedBox
(
const float X, |
||
| void | DrawSpline
(
uint32 InLayer, |
||
| void | DrawText
(
const float X, |
||
| void | DrawText
(
const int32 InLayer, |
||
| void | DrawText
(
const float X, |
||
| void | DrawText
(
const int32 InLayer, |
||
| void | DrawTextAligned
(
EHorizontalAlignment HAlign, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FDrawContext & | operator=
(
const FDrawContext& |