Ultralight C++ API 1.3.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 ultralight::RoundedRect::CalculateInterior | ( | ) | const |
float ultralight::RoundedRect::GetSignedDistance | ( | const Point & | p | ) | const |
bool ultralight::RoundedRect::Intersect | ( | const RoundedRect & | other, |
RoundedRect & | result | ||
) | const |
bool ultralight::RoundedRect::IsRounded | ( | ) | const |
void ultralight::RoundedRect::SetEmpty | ( | ) |
void ultralight::RoundedRect::SnapToPixels | ( | ) |
float ultralight::RoundedRect::radii_x[4] |
float ultralight::RoundedRect::radii_y[4] |
Rect ultralight::RoundedRect::rect |