Audacity 3.2.0
|
Rectangle that is defined by the top left corner and the size. More...
#include <Rect.h>
Public Member Functions | |
bool | IsValid () const noexcept |
Return true if the rectangle is not empty. More... | |
bool | Contains (PointType< DataType > pt) const noexcept |
Return true if the rectangle contains the point specified. More... | |
Public Attributes | |
PointType< DataType > | origin |
Origin of the rectangle. More... | |
SizeType< DataType > | size |
Size of the rectangle. More... | |
Rectangle that is defined by the top left corner and the size.
|
inlinenoexcept |
Return true if the rectangle contains the point specified.
Definition at line 36 of file Rect.h.
References graphics::RectType< DataType >::origin, and graphics::RectType< DataType >::size.
|
inlinenoexcept |
Return true if the rectangle is not empty.
Definition at line 30 of file Rect.h.
References graphics::RectType< DataType >::size.
PointType<DataType> graphics::RectType< DataType >::origin |
Origin of the rectangle.
Definition at line 25 of file Rect.h.
Referenced by graphics::RectType< DataType >::Contains(), and graphics::rect_cast().
SizeType<DataType> graphics::RectType< DataType >::size |
Size of the rectangle.
Definition at line 27 of file Rect.h.
Referenced by graphics::RectType< DataType >::Contains(), graphics::RectType< DataType >::IsValid(), and graphics::rect_cast().