All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RoundedRect

Rounded Rectangle Helper.

Overview

Public Member Functions

void SetEmpty ()
 
bool IsRounded () const
 
float GetSignedDistance (const Point &p) const
 
bool Intersect (const RoundedRect &other, RoundedRect &result) const
 
void SnapToPixels ()
 
Rect CalculateInterior () const
 

Public Attributes

Rect rect
 
float radii_x [4]
 
float radii_y [4]
 

Member Function Documentation

◆ CalculateInterior()

Rect CalculateInterior ( ) const

◆ GetSignedDistance()

float GetSignedDistance ( const Point & p) const

◆ Intersect()

bool Intersect ( const RoundedRect & other,
RoundedRect & result ) const

◆ IsRounded()

bool IsRounded ( ) const

◆ SetEmpty()

void SetEmpty ( )

◆ SnapToPixels()

void SnapToPixels ( )

Member Data Documentation

◆ radii_x

float radii_x[4]

◆ radii_y

float radii_y[4]

◆ rect

Rect rect

The documentation for this struct was generated from the following file: