MyGUI 3.4.3
MyGUI::ICroppedRectangle Class Reference

#include <MyGUI_ICroppedRectangle.h>

Inheritance diagram for MyGUI::ICroppedRectangle:

Public Member Functions

virtual ~ICroppedRectangle ()=default
ICroppedRectanglegetCroppedParent ()
virtual void setPosition (const IntPoint &_value)
virtual void setSize (const IntSize &_value)
virtual void setCoord (const IntCoord &_value)
IntPoint getPosition () const
IntSize getSize () const
const IntCoordgetCoord () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
int getLeft () const
int getRight () const
int getTop () const
int getBottom () const
int getWidth () const
int getHeight () const
bool _isMargin () const
int _getViewLeft () const
int _getViewRight () const
int _getViewTop () const
int _getViewBottom () const
int _getViewWidth () const
int _getViewHeight () const
void _setCroppedParent (ICroppedRectangle *_parent)
const IntRect_getMargin () const
int _getMarginLeft () const
int _getMarginRight () const
int _getMarginTop () const
int _getMarginBottom () const

Protected Member Functions

bool _checkMargin ()
bool _checkOutside () const

Protected Attributes

IntRect mMargin
IntCoord mCoord
IntPoint mAbsolutePosition
bool mIsMargin {false}
ICroppedRectanglemCroppedParent {nullptr}

Detailed Description

Definition at line 16 of file MyGUI_ICroppedRectangle.h.

Constructor & Destructor Documentation

◆ ~ICroppedRectangle()

virtual MyGUI::ICroppedRectangle::~ICroppedRectangle ( )
virtualdefault

Member Function Documentation

◆ _checkMargin()

bool MyGUI::ICroppedRectangle::_checkMargin ( )
inlineprotected

Definition at line 184 of file MyGUI_ICroppedRectangle.h.

◆ _checkOutside()

bool MyGUI::ICroppedRectangle::_checkOutside ( ) const
inlineprotected

Definition at line 234 of file MyGUI_ICroppedRectangle.h.

◆ _getMargin()

const IntRect & MyGUI::ICroppedRectangle::_getMargin ( ) const
inline

Definition at line 162 of file MyGUI_ICroppedRectangle.h.

◆ _getMarginBottom()

int MyGUI::ICroppedRectangle::_getMarginBottom ( ) const
inline

Definition at line 178 of file MyGUI_ICroppedRectangle.h.

◆ _getMarginLeft()

int MyGUI::ICroppedRectangle::_getMarginLeft ( ) const
inline

Definition at line 166 of file MyGUI_ICroppedRectangle.h.

◆ _getMarginRight()

int MyGUI::ICroppedRectangle::_getMarginRight ( ) const
inline

Definition at line 170 of file MyGUI_ICroppedRectangle.h.

◆ _getMarginTop()

int MyGUI::ICroppedRectangle::_getMarginTop ( ) const
inline

Definition at line 174 of file MyGUI_ICroppedRectangle.h.

◆ _getViewBottom()

int MyGUI::ICroppedRectangle::_getViewBottom ( ) const
inline

Definition at line 144 of file MyGUI_ICroppedRectangle.h.

◆ _getViewHeight()

int MyGUI::ICroppedRectangle::_getViewHeight ( ) const
inline

Definition at line 152 of file MyGUI_ICroppedRectangle.h.

◆ _getViewLeft()

int MyGUI::ICroppedRectangle::_getViewLeft ( ) const
inline

Definition at line 132 of file MyGUI_ICroppedRectangle.h.

◆ _getViewRight()

int MyGUI::ICroppedRectangle::_getViewRight ( ) const
inline

Definition at line 136 of file MyGUI_ICroppedRectangle.h.

◆ _getViewTop()

int MyGUI::ICroppedRectangle::_getViewTop ( ) const
inline

Definition at line 140 of file MyGUI_ICroppedRectangle.h.

◆ _getViewWidth()

int MyGUI::ICroppedRectangle::_getViewWidth ( ) const
inline

Definition at line 148 of file MyGUI_ICroppedRectangle.h.

◆ _isMargin()

bool MyGUI::ICroppedRectangle::_isMargin ( ) const
inline

True if rectangle is cropped by parent rectangle

Definition at line 126 of file MyGUI_ICroppedRectangle.h.

◆ _setCroppedParent()

void MyGUI::ICroppedRectangle::_setCroppedParent ( ICroppedRectangle * _parent)
inline

Definition at line 157 of file MyGUI_ICroppedRectangle.h.

◆ getAbsoluteCoord()

IntCoord MyGUI::ICroppedRectangle::getAbsoluteCoord ( ) const
inline

Get coordinate in screen coordinates

Definition at line 76 of file MyGUI_ICroppedRectangle.h.

◆ getAbsoluteLeft()

int MyGUI::ICroppedRectangle::getAbsoluteLeft ( ) const
inline

Get X in screen coordinates

Definition at line 82 of file MyGUI_ICroppedRectangle.h.

◆ getAbsolutePosition()

const IntPoint & MyGUI::ICroppedRectangle::getAbsolutePosition ( ) const
inline

Get position in screen coordinates

Definition at line 62 of file MyGUI_ICroppedRectangle.h.

◆ getAbsoluteRect()

IntRect MyGUI::ICroppedRectangle::getAbsoluteRect ( ) const
inline

Get rectangle in screen coordinates

Definition at line 67 of file MyGUI_ICroppedRectangle.h.

◆ getAbsoluteTop()

int MyGUI::ICroppedRectangle::getAbsoluteTop ( ) const
inline

Get Y in screen coordinates

Definition at line 87 of file MyGUI_ICroppedRectangle.h.

◆ getBottom()

int MyGUI::ICroppedRectangle::getBottom ( ) const
inline

Get bottom y-coordinate

Definition at line 108 of file MyGUI_ICroppedRectangle.h.

◆ getCoord()

const IntCoord & MyGUI::ICroppedRectangle::getCoord ( ) const
inline

Get coordinates (position and size)

Definition at line 56 of file MyGUI_ICroppedRectangle.h.

◆ getCroppedParent()

ICroppedRectangle * MyGUI::ICroppedRectangle::getCroppedParent ( )
inline

Get parent ICroppedRectangle

Definition at line 22 of file MyGUI_ICroppedRectangle.h.

◆ getHeight()

int MyGUI::ICroppedRectangle::getHeight ( ) const
inline

Get height

Definition at line 118 of file MyGUI_ICroppedRectangle.h.

◆ getLeft()

int MyGUI::ICroppedRectangle::getLeft ( ) const
inline

Get left x-coordinate

Definition at line 93 of file MyGUI_ICroppedRectangle.h.

◆ getPosition()

IntPoint MyGUI::ICroppedRectangle::getPosition ( ) const
inline

Get position

Definition at line 46 of file MyGUI_ICroppedRectangle.h.

◆ getRight()

int MyGUI::ICroppedRectangle::getRight ( ) const
inline

Get right x-coordinate

Definition at line 98 of file MyGUI_ICroppedRectangle.h.

◆ getSize()

IntSize MyGUI::ICroppedRectangle::getSize ( ) const
inline

Get size

Definition at line 51 of file MyGUI_ICroppedRectangle.h.

◆ getTop()

int MyGUI::ICroppedRectangle::getTop ( ) const
inline

Get top y-coordinate

Definition at line 103 of file MyGUI_ICroppedRectangle.h.

◆ getWidth()

int MyGUI::ICroppedRectangle::getWidth ( ) const
inline

Get width

Definition at line 113 of file MyGUI_ICroppedRectangle.h.

◆ setCoord()

virtual void MyGUI::ICroppedRectangle::setCoord ( const IntCoord & _value)
inlinevirtual

◆ setPosition()

virtual void MyGUI::ICroppedRectangle::setPosition ( const IntPoint & _value)
inlinevirtual

◆ setSize()

virtual void MyGUI::ICroppedRectangle::setSize ( const IntSize & _value)
inlinevirtual

Field Documentation

◆ mAbsolutePosition

IntPoint MyGUI::ICroppedRectangle::mAbsolutePosition
protected

Definition at line 246 of file MyGUI_ICroppedRectangle.h.

◆ mCoord

IntCoord MyGUI::ICroppedRectangle::mCoord
protected

Definition at line 245 of file MyGUI_ICroppedRectangle.h.

◆ mCroppedParent

ICroppedRectangle* MyGUI::ICroppedRectangle::mCroppedParent {nullptr}
protected

Definition at line 249 of file MyGUI_ICroppedRectangle.h.

◆ mIsMargin

bool MyGUI::ICroppedRectangle::mIsMargin {false}
protected

Definition at line 248 of file MyGUI_ICroppedRectangle.h.

◆ mMargin

IntRect MyGUI::ICroppedRectangle::mMargin
protected

Definition at line 244 of file MyGUI_ICroppedRectangle.h.


The documentation for this class was generated from the following file: