|
| | cRectFT (TYPE nleft=0, TYPE ntop=0, TYPE nright=0, TYPE nbottom=0) noexcept |
| |
| | cRectFT (const POINT_t &ptCenter, TYPE nSizeX=0, TYPE nSizeY=0) noexcept |
| |
| | cRectFT (const SUPER_t &rect) noexcept |
| |
| bool | IsInsideX (TYPE x) const noexcept |
| |
| bool | IsInsideY (TYPE y) const noexcept |
| |
| bool | PtInRect (TYPE x, TYPE y) const noexcept |
| |
| bool | PtInRect (const POINT_t &pt) const noexcept |
| |
| bool | IsInsideMe (const RECT_t &rect) const |
| |
| bool | IsOverlapped (const RECT_t &rect) const |
| |
| bool | ClampPtInRect (OUT POINT_t &pt) const |
| |
| void | UnionPoint (TYPE x, TYPE y) |
| |
| cString | get_RectStr (void) const |
| |
| ITERATE_t | v_SetRect (const cVariant &vVal) |
| |
| void | v_GetRect (cVariant &vVal) const |
| |
| | cRectNT () noexcept |
| |
| | cRectNT (float x1, float y1, float x2, float y2) noexcept |
| |
| | cRectNT (const SUPER_t &rect) noexcept |
| |
| float | get_X () const noexcept |
| |
| float | X () const noexcept |
| |
| float | get_Y () const noexcept |
| |
| float | Y () const noexcept |
| |
| float | get_Width () const noexcept |
| |
| float | Width () const noexcept |
| |
| float | get_Height () const noexcept |
| |
| float | Height () const noexcept |
| |
| float | get_Radius () const noexcept |
| |
| bool | IsRectEmpty () const noexcept |
| |
| void | SetLT (float nLeft2, float nTop2) noexcept |
| |
| void | SetWidth (float cx) noexcept |
| |
| void | SetHeight (float cy) noexcept |
| |
| void | SetWH (float nWidth=0, float nHeight=0) noexcept |
| |
| void | InflateRectX (float dx) noexcept |
| |
| void | InflateRectY (float dy) noexcept |
| |
| void | InflateRectBoth (float dx, float 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 (float cx=(float) INT_MAX, float cy=(float) INT_MAX) noexcept |
| |
| void | NormalizeRectClamp (float cx=(float) INT_MAX, float cy=(float) 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 = float>
class GrayLib::cRectFT< TYPE >
float TYPE normalized rectangle. Same order and basic element sizing as _WIN32 RECT and MFC CRect based on _WIN32 RECT and MFC CRect