MyGUI  3.2.0
Public Member Functions | Protected Member Functions | Protected Attributes
MyGUI::ICroppedRectangle Class Reference

#include <MyGUI_ICroppedRectangle.h>

+ Inheritance diagram for MyGUI::ICroppedRectangle:

Public Member Functions

 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
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
ICroppedRectanglemCroppedParent

Detailed Description

Definition at line 31 of file MyGUI_ICroppedRectangle.h.

Constructor & Destructor Documentation

MyGUI::ICroppedRectangle::ICroppedRectangle ( )
inline

Definition at line 34 of file MyGUI_ICroppedRectangle.h.

virtual MyGUI::ICroppedRectangle::~ICroppedRectangle ( )
inlinevirtual

Definition at line 39 of file MyGUI_ICroppedRectangle.h.

Member Function Documentation

bool MyGUI::ICroppedRectangle::_checkMargin ( )
inlineprotected

Definition at line 200 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 250 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 178 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 194 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 182 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 186 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 190 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 160 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 168 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 148 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 152 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 156 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 164 of file MyGUI_ICroppedRectangle.h.

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

True if rectangle is cropped by parent rectangle

Definition at line 142 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 173 of file MyGUI_ICroppedRectangle.h.

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

Get coordinate in screen coordinates

Definition at line 92 of file MyGUI_ICroppedRectangle.h.

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

Get X in screen coordinates

Definition at line 98 of file MyGUI_ICroppedRectangle.h.

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

Get position in screen coordinates

Definition at line 82 of file MyGUI_ICroppedRectangle.h.

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

Get rectangle in screen coordinates

Definition at line 87 of file MyGUI_ICroppedRectangle.h.

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

Get Y in screen coordinates

Definition at line 103 of file MyGUI_ICroppedRectangle.h.

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

Get bottom y-coordinate

Definition at line 124 of file MyGUI_ICroppedRectangle.h.

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

Get coordinates (position and size)

Definition at line 76 of file MyGUI_ICroppedRectangle.h.

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

Get parent ICroppedRectangle

Definition at line 42 of file MyGUI_ICroppedRectangle.h.

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

Get height

Definition at line 134 of file MyGUI_ICroppedRectangle.h.

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

Get left x-coordinate

Definition at line 109 of file MyGUI_ICroppedRectangle.h.

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

Get position

Definition at line 66 of file MyGUI_ICroppedRectangle.h.

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

Get right x-coordinate

Definition at line 114 of file MyGUI_ICroppedRectangle.h.

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

Get size

Definition at line 71 of file MyGUI_ICroppedRectangle.h.

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

Get top y-coordinate

Definition at line 119 of file MyGUI_ICroppedRectangle.h.

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

Get width

Definition at line 129 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::setCoord ( const IntCoord _value)
inlinevirtual
virtual void MyGUI::ICroppedRectangle::setPosition ( const IntPoint _value)
inlinevirtual
virtual void MyGUI::ICroppedRectangle::setSize ( const IntSize _value)
inlinevirtual

Field Documentation

IntPoint MyGUI::ICroppedRectangle::mAbsolutePosition
protected

Definition at line 261 of file MyGUI_ICroppedRectangle.h.

IntCoord MyGUI::ICroppedRectangle::mCoord
protected

Definition at line 260 of file MyGUI_ICroppedRectangle.h.

ICroppedRectangle* MyGUI::ICroppedRectangle::mCroppedParent
protected

Definition at line 264 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::mIsMargin
protected

Definition at line 263 of file MyGUI_ICroppedRectangle.h.

IntRect MyGUI::ICroppedRectangle::mMargin
protected

Definition at line 259 of file MyGUI_ICroppedRectangle.h.


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