|
| | cRectNT () noexcept |
| |
| | cRectNT (TYPE x1, TYPE y1, TYPE x2, TYPE y2) noexcept |
| |
| | cRectNT (const SUPER_t &rect) noexcept |
| |
| TYPE | get_X () const noexcept |
| |
| TYPE | X () const noexcept |
| |
| TYPE | get_Y () const noexcept |
| |
| TYPE | Y () const noexcept |
| |
| TYPE | get_Width () const noexcept |
| |
| TYPE | Width () const noexcept |
| |
| TYPE | get_Height () const noexcept |
| |
| TYPE | Height () const noexcept |
| |
| TYPE | get_Radius () const noexcept |
| |
| bool | IsRectEmpty () const noexcept |
| |
| void | SetLT (TYPE nLeft2, TYPE nTop2) noexcept |
| |
| void | SetWidth (TYPE cx) noexcept |
| |
| void | SetHeight (TYPE cy) noexcept |
| |
| void | SetWH (TYPE nWidth=0, TYPE nHeight=0) noexcept |
| |
| void | InflateRectX (TYPE dx) noexcept |
| |
| void | InflateRectY (TYPE dy) noexcept |
| |
| void | InflateRectBoth (TYPE dx, TYPE dy) noexcept |
| |
| void | UnionRect (const THIS_t &rect) noexcept |
| |
| void | UnionRectE (const THIS_t &rect) noexcept |
| |
| bool | IntersectRect (const THIS_t &rect) noexcept |
| |
| void | RectClamp (TYPE cx=(TYPE) INT_MAX, TYPE cy=(TYPE) INT_MAX) noexcept |
| |
| void | NormalizeRectClamp (TYPE cx=(TYPE) INT_MAX, TYPE cy=(TYPE) INT_MAX) noexcept |
| |
| | cRectT () noexcept |
| |
| | cRectT (TYPE x1, TYPE y1, TYPE x2, TYPE y2) noexcept |
| |
| | cRectT (const THIS_t &rect) noexcept |
| |
| TYPE | get_DiffX () const noexcept |
| |
| TYPE | get_DiffY () const noexcept |
| |
| cVecT2< TYPE > | get_Center () const noexcept |
| |
| float | get_AspectRatio () const noexcept |
| |
| bool | IsEqual (const THIS_t &rect) const noexcept |
| |
| bool | operator== (const THIS_t &rect) const noexcept |
| |
| bool | operator!= (const THIS_t &rect) const noexcept |
| |
| bool | isRectNull () const noexcept |
| |
| bool | isRectNormal () const noexcept |
| |
| bool | isRectNormalE () const noexcept |
| |
| bool | IsInRangeX (TYPE value) const noexcept |
| |
| bool | IsInRangeY (TYPE value) const noexcept |
| |
| void | SetRectNull () noexcept |
| |
| void | SetRectWH (TYPE nLeft, TYPE nTop, TYPE nWidth, TYPE nHeight) noexcept |
| |
| void | SetRectEmptyX () noexcept |
| |
| void | SetRect4 (TYPE nLeft, TYPE nTop, TYPE nRight, TYPE nBottom) noexcept |
| |
| void | SetRectAsPt (TYPE x, TYPE y) noexcept |
| |
| void | SetRectAsPt (const POINT_t &pt) noexcept |
| |
| void | SetRectFromSphere (TYPE x, TYPE y, TYPE nRadius) noexcept |
| |
| HRESULT | SetRectAsStr (const char *pszStr) |
| |
| void | OffsetRectX (TYPE dx) noexcept |
| |
| void | OffsetRectY (TYPE dy) noexcept |
| |
| void | OffsetRect (TYPE dx, TYPE dy) noexcept |
| |
| void | UnionX (TYPE x) noexcept |
| |
| void | UnionY (TYPE y) noexcept |
| |
| void | Union2 (TYPE x, TYPE y) noexcept |
| |
| void | Union4 (const THIS_t &rect) noexcept |
| |
| void | ScrollInRangeX (TYPE value) noexcept |
| |
| void | ScrollInRangeY (TYPE value) |
| |
| void | SetRectNotEmpty (TYPE iMin=10) noexcept |
| |
| void | ScaleX (float mx) noexcept |
| |
| void | ScaleY (float my) noexcept |
| |
| void | Scale (float mx, float my) noexcept |
| |
| void | AddScaleY () noexcept |
| |
| void | NormalizeRect () noexcept |
| |
template<typename TYPE>
class GrayLib::cRectNT< TYPE >
a normalized 2d rectangle of arbitrary TYPE units. common rectangle functions that are inclusive OR non-inclusive. (float/int) ASSUME N = Normalized = Left,Top less than Right,Bottom