Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRotatedRect.h |
Include |
#include "Layout/SlateRotatedRect.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Layout/SlateRotatedRect.cpp |
static FSlateRotatedRect MakeSnappedRotatedRect
(
const FSlateRect & ClipRectInLayoutWindowSpace,
const FTransform2D & LayoutToRenderTransform
)
Used to construct a rotated rect from an aligned clip rect and a set of layout and render transforms from the geometry, snapped to pixel boundaries. Returns a float or float16 version of the rect based on the typedef.