Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions | Public Attributes
Rapicorn::Rect Class Reference

List of all members.

Public Member Functions

 Rect (Point cp0, Point cp1)
 Rect (Point p0, double cwidth, double cheight)
 Rect (double cx, double cy, double cwidth, double cheight)
 Rect (const IRect &ir)
Rectassign (Point p0, Point p1)
Rectassign (Point p0, double cwidth, double cheight)
Rectassign (double cx, double cy, double cwidth, double cheight)
double upper_x () const
double upper_y () const
Point upper_left () const
Point upper_right () const
Point lower_right () const
Point lower_left () const
Point ul () const
Point ur () const
Point lr () const
Point ll () const
double diagonal () const
double area () const
Point ul_tangent () const
Point ur_tangent () const
Point lr_tangent () const
Point ll_tangent () const
Point center () const
Point north () const
Point north_east () const
Point east () const
Point south_east () const
Point south () const
Point south_west () const
Point west () const
Point north_west () const
bool contains (const Point &point) const
bool operator== (const Rect &other) const
bool operator!= (const Rect &other) const
bool equals (const Rect &other, double epsilon=0.0) const
double dist2 (const Point &p) const
double dist (const Point &p) const
Rectrect_union (const Rect &r)
Rectadd (const Point &p)
Rectadd_border (double b)
Rectintersect (const Rect &r)
bool intersecting (const Rect &r) const
Rect intersection (const Rect &r) const
bool empty () const
Point anchor_point (AnchorType anchor)
Recttranslate (double deltax, double delty)
Rectoperator+ (const Point &p)
Rectoperator- (const Point &p)
String string () const

Static Public Member Functions

static Rect create_anchored (AnchorType anchor, double width, double height)

Public Attributes

double x
double y
double width
double height

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines