Ultralight C++ API 1.4.0
|
#include <Ultralight/Geometry.h>
Rounded Rectangle Helper.
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] |
Rect CalculateInterior | ( | ) | const |
float GetSignedDistance | ( | const Point & | p | ) | const |
bool Intersect | ( | const RoundedRect & | other, |
RoundedRect & | result ) const |
bool IsRounded | ( | ) | const |
void SetEmpty | ( | ) |
void SnapToPixels | ( | ) |
float radii_x[4] |
float radii_y[4] |
Rect rect |