234 FMath::RoundToFloat(
Left),
235 FMath::RoundToFloat(
Top),
236 FMath::RoundToFloat(
Right),
237 FMath::RoundToFloat(
Bottom));
304 return FSlateRect(
A.Left +
B.Left,
A.Top +
B.Top,
A.Right +
B.Right,
A.Bottom +
B.Bottom );
309 return FSlateRect(
A.Left -
B.Left,
A.Top -
B.Top,
A.Right -
B.Right,
A.Bottom -
B.Bottom );
331 B.Right <
A.Left ||
A.Right <
B.Left ||
332 B.Bottom <
A.Top ||
A.Bottom <
B.Top;
340 return (
A.Left <=
B.Left) && (
A.Right >=
B.Right) && (
A.Top <=
B.Top) && (
A.Bottom >=
B.Bottom);
377template <
typename TransformType>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE::Math::TVector2< float > FVector2f
Definition MathFwd.h:74
FSlateRect TransformRect(const TransformType &Transform, const FSlateRect &Rect)
Definition SlateRect.h:378
constexpr uint32 HashCombine(uint32 A, uint32 C)
Definition TypeHash.h:36
#define UE_SMALL_NUMBER
Definition UnrealMathUtility.h:130
uint32 Size
Definition VulkanMemory.cpp:4034
Definition SlateRect.h:26
FSlateRect ExtendBy(const FMargin &ExtendAmount) const
Definition SlateRect.h:186
FSlateRect ScaleBy(float ScaleBy) const
Definition SlateRect.h:210
FSlateRect(const UE::Slate::FDeprecateVector2DParameter &InStartPos, const UE::Slate::FDeprecateVector2DParameter &InEndPos)
Definition SlateRect.h:41
FVector2f GetSize2f() const
Definition SlateRect.h:84
float Left
Definition SlateRect.h:29
float GetArea() const
Definition SlateRect.h:92
FSlateRect Round() const
Definition SlateRect.h:231
FSlateRect InsetBy(const struct FMargin &InsetAmount) const
Definition SlateRect.h:174
bool operator==(const FSlateRect &Other) const
Definition SlateRect.h:288
FVector2f GetBottomRight2f() const
Definition SlateRect.h:148
float Top
Definition SlateRect.h:30
bool ContainsPoint(const UE::Slate::FDeprecateVector2DParameter &Point) const
Definition SlateRect.h:283
float Right
Definition SlateRect.h:31
bool IsValid() const
Definition SlateRect.h:62
static bool DoRectanglesIntersect(const FSlateRect &A, const FSlateRect &B)
Definition SlateRect.h:318
FSlateRect IntersectionWith(const FSlateRect &Other, bool &OutOverlapping) const
Definition SlateRect.h:261
UE::Slate::FDeprecateVector2DResult GetTopLeft() const
Definition SlateRect.h:116
FVector2f GetBottomLeft2f() const
Definition SlateRect.h:162
FSlateRect OffsetBy(const UE::Slate::FDeprecateVector2DParameter &OffsetAmount) const
Definition SlateRect.h:198
UE::Slate::FDeprecateVector2DResult GetSize() const
Definition SlateRect.h:80
friend uint32 GetTypeHash(const FSlateRect &Key)
Definition SlateRect.h:360
friend FSlateRect operator+(const FSlateRect &A, const FSlateRect &B)
Definition SlateRect.h:302
friend FSlateRect operator-(const FSlateRect &A, const FSlateRect &B)
Definition SlateRect.h:307
static FSlateRect FromPointAndExtent(const UE::Slate::FDeprecateVector2DParameter &TopLeft, const UE::Slate::FDeprecateVector2DParameter &Size)
Definition SlateRect.h:52
FSlateRect(float InLeft=-1, float InTop=-1, float InRight=-1, float InBottom=-1)
Definition SlateRect.h:34
FVector2f GetTopLeft2f() const
Definition SlateRect.h:120
UE::Slate::FDeprecateVector2DResult GetCenter() const
Definition SlateRect.h:102
FVector2f GetCenter2f() const
Definition SlateRect.h:106
SLATECORE_API FString ToString() const
Definition SlateRect.cpp:5
UE::Slate::FDeprecateVector2DResult GetTopRight() const
Definition SlateRect.h:130
FSlateRect IntersectionWith(const FSlateRect &Other) const
Definition SlateRect.h:247
UE::Slate::FDeprecateVector2DResult GetBottomLeft() const
Definition SlateRect.h:158
friend FSlateRect operator*(float Scalar, const FSlateRect &Rect)
Definition SlateRect.h:312
SLATECORE_API bool InitFromString(const FString &InSourceString)
Definition SlateRect.cpp:10
float Bottom
Definition SlateRect.h:32
UE::Slate::FDeprecateVector2DResult GetBottomRight() const
Definition SlateRect.h:144
static bool IsRectangleContained(const FSlateRect &A, const FSlateRect &B)
Definition SlateRect.h:338
FSlateRect Expand(const FSlateRect &Other) const
Definition SlateRect.h:223
bool IsEmpty() const
Definition SlateRect.h:70
bool operator!=(const FSlateRect &Other) const
Definition SlateRect.h:297
FVector2f GetTopRight2f() const
Definition SlateRect.h:134
FDeprecateSlateVector2D FDeprecateVector2DResult
Definition SlateVector2.h:469
Definition LinuxPlatformSplash.cpp:43
int32 Right
Definition LinuxPlatformSplash.cpp:47
int32 Bottom
Definition LinuxPlatformSplash.cpp:48
int32 Left
Definition LinuxPlatformSplash.cpp:46
int32 Top
Definition LinuxPlatformSplash.cpp:45
Definition IsPODType.h:12
@ Value
Definition IsPODType.h:13
Definition SlateVector2.h:485