rtc.avd_SDK-C++  3.2.0
Public 成员函数 | Public 属性 | 所有成员列表
rtcimp::tagRect结构体 参考

区域对象信息结构. 更多...

Public 成员函数

 tagRect ()
 
 tagRect (int left, int top, int right, int bottom)
 
bool isRectEmpty () const
 
int width () const
 
int height () const
 
bool pointIn (const Point &p) const
 
bool pointIn (int x, int y) const
 
void moveY (int y)
 
void moveX (int x)
 
void moveXY (int x, int y)
 
bool operator== (const tagRect &other) const
 
bool operator != (const tagRect &other) const
 

Public 属性

int left
 
int top
 
int right
 
int bottom
 

详细描述

区域对象信息结构.

构造及析构函数说明

◆ tagRect() [1/2]

rtcimp::tagRect::tagRect ( )

◆ tagRect() [2/2]

rtcimp::tagRect::tagRect ( int  left,
int  top,
int  right,
int  bottom 
)

成员函数说明

◆ height()

int rtcimp::tagRect::height ( ) const

引用了 bottom , 以及 top.

被这些函数引用 rtcimp::AVDContext::displayWidth() , 以及 moveY().

◆ isRectEmpty()

bool rtcimp::tagRect::isRectEmpty ( ) const

引用了 bottom, left, right , 以及 top.

◆ moveX()

void rtcimp::tagRect::moveX ( int  x)

引用了 left, right , 以及 width().

被这些函数引用 moveXY().

◆ moveXY()

void rtcimp::tagRect::moveXY ( int  x,
int  y 
)

引用了 moveX() , 以及 moveY().

◆ moveY()

void rtcimp::tagRect::moveY ( int  y)

引用了 bottom, height() , 以及 top.

被这些函数引用 moveXY().

◆ operator !=()

bool rtcimp::tagRect::operator != ( const tagRect &  other) const

◆ operator==()

bool rtcimp::tagRect::operator== ( const tagRect &  other) const

引用了 bottom, left, right , 以及 top.

◆ pointIn() [1/2]

bool rtcimp::tagRect::pointIn ( const Point &  p) const

引用了 pointIn(), rtcimp::tagPoint::x , 以及 rtcimp::tagPoint::y.

被这些函数引用 pointIn().

◆ pointIn() [2/2]

bool rtcimp::tagRect::pointIn ( int  x,
int  y 
) const

引用了 bottom, left, right , 以及 top.

◆ width()

int rtcimp::tagRect::width ( ) const

引用了 left , 以及 right.

被这些函数引用 rtcimp::AVDContext::displayWidth() , 以及 moveX().

类成员变量说明

◆ bottom

int rtcimp::tagRect::bottom

被这些函数引用 height(), isRectEmpty(), moveY(), operator==() , 以及 pointIn().

◆ left

int rtcimp::tagRect::left

被这些函数引用 isRectEmpty(), moveX(), operator==(), pointIn() , 以及 width().

◆ right

int rtcimp::tagRect::right

被这些函数引用 isRectEmpty(), moveX(), operator==(), pointIn() , 以及 width().

◆ top

int rtcimp::tagRect::top

被这些函数引用 height(), isRectEmpty(), moveY(), operator==() , 以及 pointIn().


该结构体的文档由以下文件生成: