insightdock::charts::Rect

Axis-aligned rectangle (x,y = top-left, w,h = size).

Synopsis

Declared in <insightdock/geometry.h>
struct Rect;

Member Functions

Name Description
Rect [constructor]Constructors
bottom
center_x
center_y
contains True if (px, py) lies inside the rectangle.
inset Rectangle inset by margin on all sides.
left
right
top
union_with Smallest rectangle containing this and other.

Data Members

Name
h
w
x
y

Created with MrDocs