Navigation
API > API/Developer > API/Developer/TraceInsightsCore > API/Developer/TraceInsightsCore/InsightsCore > API/Developer/TraceInsightsCore/InsightsCore/Common
References
| Module | TraceInsightsCore |
| Header | /Engine/Source/Developer/TraceInsightsCore/Public/InsightsCore/Common/PaintUtils.h |
| Include | #include "InsightsCore/Common/PaintUtils.h" |
Syntax
class 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& |