![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |

| Constructor/Destructor |
|---|
|
SFXRectangle( Void ) Constructor of SFXRectangle.
|
|
SFXRectangle(
SFXRectangleConstRef param
) Constructor of SFXRectangle.
|
|
SFXRectangle(
SFXGridConstRef origin
, SFXSizeConstRef size
) Constructor of SFXRectangle.
|
|
SFXRectangle(
SFXGridConstRef origin
, SInt16 width
, SInt16 height
) Constructor of SFXRectangle.
|
|
SFXRectangle(
SInt16 x
, SInt16 y
, SFXSizeConstRef size
) Constructor of SFXRectangle.
|
|
SFXRectangle(
SInt16 x
, SInt16 y
, SInt16 width
, SInt16 height
) Constructor of SFXRectangle.
|
|
SFXRectangle(
SFXPixelConstRef start
, SFXPixelConstRef end
) Constructor of SFXRectangle.
|
| Public Functions | |
|---|---|
| SFXRectangleRef |
AddBottom(
SInt16 param
) Add a specified value to the Y coordinate of bottom edge.
|
| SFXRectangleRef |
AddHeight(
SInt16 param
) Add a specified value to the height.
|
| SFXRectangleRef |
AddLeft(
SInt16 param
) Add a specified value to the X coordinate of left edge.
|
| SFXRectangleRef |
AddLeftBottom(
SFXGridConstRef param
) AddLeftBottom( SInt16 x , SInt16 y ) Add a specified value to the coordinates of left-bottom vertex.
|
| SFXRectangleRef |
AddLeftTop(
SFXGridConstRef param
) AddLeftTop( SInt16 x , SInt16 y ) Add a specified value to the coordinates of left-top vertex.
|
| SFXRectangleRef |
AddOrigin(
SFXGridConstRef param
) AddOrigin( SInt16 x , SInt16 y ) Add a specified value to the coordinates of the origin (left-top vertex).
|
| SFXRectangleRef |
AddRight(
SInt16 param
) Add a specified value to the X coordinate of right edge.
|
| SFXRectangleRef |
AddRightBottom(
SFXGridConstRef param
) AddRightBottom( SInt16 x , SInt16 y ) Add a specified value to the coordinates of right-bottom vertex.
|
| SFXRectangleRef |
AddRightTop(
SFXGridConstRef param
) AddRightTop( SInt16 x , SInt16 y ) Add a specified value to the coordinates of right-top vertex.
|
| SFXRectangleRef |
AddSize(
SFXSizeConstRef param
) AddSize( SInt16 width , SInt16 height ) Add a specified value to the size.
|
| SFXRectangleRef |
AddTop(
SInt16 param
) Add a specified value to the Y coordinate of top edge.
|
| SFXRectangleRef |
AddWidth(
SInt16 param
) Add a specified value to the width.
|
| SFXRectangleRef |
AddX(
SInt16 param
) Add a specified value to the X coordinate of left-top vertex.
|
| SFXRectangleRef |
AddY(
SInt16 param
) Add a specified value to the Y coordinate of left-top vertex.
|
| SFXRectangleRef |
Deflate(
SFXMarginConstRef param
) Deflate( SInt16 horizontal , SInt16 vertical ) Deflate( SInt16 left , SInt16 top , SInt16 right , SInt16 bottom ) Deflate( SInt16 left , SInt16 top , SFXSizeConstRef rb ) Deflate( SFXSizeConstRef lt , SInt16 right , SInt16 bottom ) Deflate( SFXSizeConstRef lt , SFXSizeConstRef rb ) Deflate this rectangle by a specified value.
|
| SFXRectangleRef |
DivBottom(
SInt16 param
) Divide the Y coordinate of bottom edge by a specified value.
|
| SFXRectangleRef |
DivHeight(
SInt16 param
) Divide the height by a specified value.
|
| SFXRectangleRef |
DivLeft(
SInt16 param
) Divide the X coordinate of left edge by a specified value.
|
| SFXRectangleRef |
DivLeftBottom(
SInt16 x
, SInt16 y
) DivLeftBottom( SInt16 param ) Divide the coordinates of left-bottom vertex by a specified value.
|
| SFXRectangleRef |
DivLeftTop(
SInt16 x
, SInt16 y
) DivLeftTop( SInt16 param ) Divide the coordinates of left-top vertex by a specified value.
|
| SFXRectangleRef |
DivOrigin(
SInt16 x
, SInt16 y
) DivOrigin( SInt16 param ) Divide the coordinates of the origin (left-top vertex) by a specified value.
|
| SFXRectangleRef |
DivRight(
SInt16 param
) Divide the X coordinate of right edge by a specified value.
|
| SFXRectangleRef |
DivRightBottom(
SInt16 x
, SInt16 y
) DivRightBottom( SInt16 param ) Divide the corrdinates of right-bottom vertex.
|
| SFXRectangleRef |
DivRightTop(
SInt16 x
, SInt16 y
) DivRightTop( SInt16 param ) Divide the coordinates of right-top vertex by a specified value.
|
| SFXRectangleRef |
DivSize(
SInt16 width
, SInt16 height
) DivSize( SInt16 param ) Divide the size by a specified value.
|
| SFXRectangleRef |
DivTop(
SInt16 param
) Divide the Y coordinate of top edge by a specified value.
|
| SFXRectangleRef |
DivWidth(
SInt16 param
) Divide the width by a specified value.
|
| SFXRectangleRef |
DivX(
SInt16 param
) Divide the X coordinate of left-top vertex by a specified value.
|
| SFXRectangleRef |
DivY(
SInt16 param
) Divide the Y coordinate of left-top vertex by a specified value.
|
| static SFXRectangleConstRef |
EmptyInstance( Void ) Get an empty rectangle.
|
| Bool |
Equals(
SFXRectangleConstRef param
) Equals( SInt16 x , SInt16 y , SInt16 width , SInt16 height ) Equals( SInt16 x , SInt16 y , SFXSizeConstRef size ) Equals( SFXGridConstRef origin , SInt16 width , SInt16 height ) Equals( SFXGridConstRef origin , SFXSizeConstRef size ) Check whether this rectangle equals a specified rectangle or not.
|
| SInt16 |
GetBottom( Void ) Get the Y coordinate of the bottom edge.
|
| SFXLine |
GetEdgeBottom( Void ) Get the bottom edge as a line.
|
| SFXLine |
GetEdgeLeft( Void ) Get the left edge as a line.
|
| SFXLine |
GetEdgeRight( Void ) Get the right edge as a line.
|
| SFXLine |
GetEdgeTop( Void ) Get the top edge as a line.
|
| SInt16 |
GetHeight( Void ) Get the height.
|
| SInt16 |
GetLeft( Void ) Get the X coordinate of the left edge.
|
| SFXGrid |
GetLeftBottom( Void ) Get the grid coordinates of left-bottom vertex.
|
| SFXGrid |
GetLeftTop( Void ) Get the grid coordinates of left-top vertex.
|
| SFXGridConstRef |
GetOrigin( Void ) Get the grid coordinate of the origin (left-top vertex).
|
| SInt16 |
GetRight( Void ) Get the X coordinate of the right edge.
|
| SFXGrid |
GetRightBottom( Void ) Get the grid coordinate of right-bottom vertex.
|
| SFXGrid |
GetRightTop( Void ) Get the grid coordinates of right-top vertex.
|
| SFXSizeConstRef |
GetSize( Void ) Get the size.
|
| SInt16 |
GetTop( Void ) Get the Y coordinate of the top edge.
|
| SFXPixel |
GetVertexLeftBottom( Void ) Get the pixel coordinate of left-bottom vertex.
|
| SFXPixel |
GetVertexLeftTop( Void ) Get the pixel coordinate of left-top vertex.
|
| SFXPixel |
GetVertexRightBottom( Void ) Get the pixel coordinates of right-bottom vertex.
|
| SFXPixel |
GetVertexRightTop( Void ) Get the pixel coordinate of right-top vertex.
|
| SInt16 |
GetWidth( Void ) Get the width.
|
| SInt16 |
GetX( Void ) Get the X coordinate of left-top vertex.
|
| SInt16 |
GetY( Void ) Get the Y coordinate of left-top vertex.
|
| SFXRectangleRef |
Inflate(
SFXMarginConstRef param
) Inflate( SInt16 horizontal , SInt16 vertical ) Inflate( SInt16 left , SInt16 top , SInt16 right , SInt16 bottom ) Inflate( SInt16 left , SInt16 top , SFXSizeConstRef rb ) Inflate( SFXSizeConstRef lt , SInt16 right , SInt16 bottom ) Inflate( SFXSizeConstRef lt , SFXSizeConstRef rb ) Inflate this rectangle by a specified value.
|
| SFXRectangleRef |
Intersection(
SFXRectangleConstRef param
) Get the intersection of this rectangle with a specified rectangle.
|
| Bool |
IntersectsWith(
SFXRectangleConstRef param
) Check whether this rectangle intersects with a specified rectangle or not.
|
| Bool |
IsEmpty( Void ) Check whether this rectangle is empty or not.
|
| Bool |
IsInsideOf(
SFXRectangleConstRef param
) Check whether this rectangle is inside of a specified rectangle or not.
|
| SFXMargin |
MarginTo(
SFXRectangleConstRef param
) Get the margin between this rectangle and a specified rectangle.
|
| SFXRectangleRef |
ModBottom(
SInt16 param
) Set the Y coordinate of the bottom edge to the remainder of the division of this coordinate by a specified value.
|
| SFXRectangleRef |
ModHeight(
SInt16 param
) Set the height to the remainder of the division of the height by a specified value.
|
| SFXRectangleRef |
ModLeft(
SInt16 param
) Set the X coordinate of the left edge to the remainder of the division of this coordinate by a specified value.
|
| SFXRectangleRef |
ModLeftBottom(
SInt16 x
, SInt16 y
) ModLeftBottom( SInt16 param ) Set the coordinates of left-bottom vertex to the remainder of the division of this coordinates by a specified value.
|
| SFXRectangleRef |
ModLeftTop(
SInt16 x
, SInt16 y
) ModLeftTop( SInt16 param ) Set the coordinates of left-top vertex to the remainder of the division of this coordinates by a specified value.
|
| SFXRectangleRef |
ModOrigin(
SInt16 x
, SInt16 y
) ModOrigin( SInt16 param ) Set the origin coordinates (left-top vertex) to the remainder of the division of this coordinates by a specified value.
|
| SFXRectangleRef |
ModRight(
SInt16 param
) Set the X coordinate of the right edge to the remainder of the division of this coordinate by a specified value.
|
| SFXRectangleRef |
ModRightBottom(
SInt16 x
, SInt16 y
) ModRightBottom( SInt16 param ) Set the coordinates of right-bottom vertex to the remainder of the division of this coordinates by a specified value.
|
| SFXRectangleRef |
ModRightTop(
SInt16 x
, SInt16 y
) ModRightTop( SInt16 param ) Set the coordinates of right-top vertex to the remainder of the division of this coordinates by a specified value.
|
| SFXRectangleRef |
ModSize(
SInt16 width
, SInt16 height
) ModSize( SInt16 param ) Set the size to the remainder of the division of this size by a specified value.
|
| SFXRectangleRef |
ModTop(
SInt16 param
) Set the Y coordinate of top edge to the remainder of the division of this coordinate by a specified value..
|
| SFXRectangleRef |
ModWidth(
SInt16 param
) Set the width to the remainder of the division of this width by a specified value.
|
| SFXRectangleRef |
ModX(
SInt16 param
) Set the X coordinate of left-top vertex to the remainder of the division of this coordinate by a specified value.
|
| SFXRectangleRef |
ModY(
SInt16 param
) Set the Y coordinate of left-top vertex to the remainder of the division of this coordinate by a specified value.
|
| SFXRectangleRef |
MulBottom(
SInt16 param
) Multiply the Y coordinate of this bottom edge by a specified value.
|
| SFXRectangleRef |
MulHeight(
SInt16 param
) Multiply the height by a specified value.
|
| SFXRectangleRef |
MulLeft(
SInt16 param
) Multiply the X coordinate of the left edge by a specified value.
|
| SFXRectangleRef |
MulLeftBottom(
SInt16 x
, SInt16 y
) MulLeftBottom( SInt16 param ) Multiply the coordinates of left-bottom vertex by a specified value.
|
| SFXRectangleRef |
MulLeftTop(
SInt16 x
, SInt16 y
) MulLeftTop( SInt16 param ) Multiply the coordinates of left-top vertex by a specified value.
|
| SFXRectangleRef |
MulOrigin(
SInt16 x
, SInt16 y
) MulOrigin( SInt16 param ) Multiply the origin coordinates (left-top vertex) by a specified value.
|
| SFXRectangleRef |
MulRight(
SInt16 param
) Multiply the X coordinate of the right edge by a specified value.
|
| SFXRectangleRef |
MulRightBottom(
SInt16 x
, SInt16 y
) MulRightBottom( SInt16 param ) Multiply the corrdinates of right-bottom vertex by a specified value.
|
| SFXRectangleRef |
MulRightTop(
SInt16 x
, SInt16 y
) MulRightTop( SInt16 param ) Multiply the coordinates of right-top vertex by a specified value.
|
| SFXRectangleRef |
MulSize(
SInt16 width
, SInt16 height
) MulSize( SInt16 param ) Multiply the size by a specified value.
|
| SFXRectangleRef |
MulTop(
SInt16 param
) Multiply the Y coordinate of the top edge by a specified value.
|
| SFXRectangleRef |
MulWidth(
SInt16 param
) Multiply the width by a specified value.
|
| SFXRectangleRef |
MulX(
SInt16 param
) Multiply the X coordinate of left-top vertex by a specified value.
|
| SFXRectangleRef |
MulY(
SInt16 param
) Multiply the Y coordinate of left-top vertex by a specified value.
|
| SFXRectangleRef |
NegBottom( Void ) Negate the sign of the Y coordinate of bottom edge.
|
| SFXRectangleRef |
NegHeight( Void ) Negate the sign of the height.
|
| SFXRectangleRef |
NegLeft( Void ) Negate the sign of the X coordinate of left edge.
|
| SFXRectangleRef |
NegLeftBottom( Void ) Negate the sign of the coordinates of left-bottom vertex.
|
| SFXRectangleRef |
NegLeftTop( Void ) Negate the sign of the coordinates of left-top vertex.
|
| SFXRectangleRef |
NegOrigin( Void ) Negate the sign of the coordinates of origin point (left-top vertex).
|
| SFXRectangleRef |
NegRight( Void ) Negate the sign of the X coordinate of right edge.
|
| SFXRectangleRef |
NegRightBottom( Void ) Negate the sign of the corrdinate of right-bottom vertex.
|
| SFXRectangleRef |
NegRightTop( Void ) Negate the sign of the coordinate of right-top vertex.
|
| SFXRectangleRef |
NegSize( Void ) Negate the sign of the size.
|
| SFXRectangleRef |
NegTop( Void ) Negate the sign of the Y coordinate of top edge.
|
| SFXRectangleRef |
NegWidth( Void ) Negate the sign of the width.
|
| SFXRectangleRef |
NegX( Void ) Negate the sign of the X coordinate of left-top vertex.
|
| SFXRectangleRef |
NegY( Void ) Negate the sign of the Y coordinate of left-top vertex.
|
| SFXRectangleRef |
Normalize( Void ) Normalize the rectangle.
|
| SFXRectangleRef |
Offset(
SFXGridConstRef param
) Offset( SInt16 x , SInt16 y ) Add a specified value to the coordinates of the origin point (left-top vertex) and move this rectangle.
|
| SFXRectangleRef |
Set(
SFXRectangleConstRef param
) Set( SFXPixelConstRef start , SFXPixelConstRef end ) Set( SInt16 x , SInt16 y , SInt16 width , SInt16 height ) Set( SInt16 x , SInt16 y , SFXSizeConstRef size ) Set( SFXGridConstRef origin , SInt16 width , SInt16 height ) Set( SFXGridConstRef origin , SFXSizeConstRef size ) Set the rectangle.
|
| SFXRectangleRef |
SetBottom(
SInt16 param
) Set the Y coordinate of buttom edge.
|
| SFXRectangleRef |
SetHeight(
SInt16 param
) Set the height.
|
| SFXRectangleRef |
SetLeft(
SInt16 param
) Set the X coordinate of left edge.
|
| SFXRectangleRef |
SetLeftBottom(
SFXGridConstRef param
) SetLeftBottom( SInt16 x , SInt16 y ) Set the grid coordinates of left-bottom vertex.
|
| SFXRectangleRef |
SetLeftTop(
SFXGridConstRef param
) SetLeftTop( SInt16 x , SInt16 y ) Set the grid coordinates of left-top vertex.
|
| SFXRectangleRef |
SetOrigin(
SFXGridConstRef param
) SetOrigin( SInt16 x , SInt16 y ) Set the grid coordinates of origin point (left-top vertex).
|
| SFXRectangleRef |
SetRight(
SInt16 param
) Set the X coordinate of right edge.
|
| SFXRectangleRef |
SetRightBottom(
SFXGridConstRef param
) SetRightBottom( SInt16 x , SInt16 y ) Set the grid coordinates of right-bottom vertex.
|
| SFXRectangleRef |
SetRightTop(
SFXGridConstRef param
) SetRightTop( SInt16 x , SInt16 y ) Set the grid coordinates of right-top vertex.
|
| SFXRectangleRef |
SetSize(
SFXSizeConstRef param
) SetSize( SInt16 width , SInt16 height ) Set the size.
|
| SFXRectangleRef |
SetTop(
SInt16 param
) Set the Y coordinate of top edge.
|
| SFXRectangleRef |
SetVertexLeftBottom(
SFXPixelConstRef param
) SetVertexLeftBottom( SInt16 x , SInt16 y ) Set the pixel coordinates of left-bottom vertex.
|
| SFXRectangleRef |
SetVertexLeftTop(
SFXPixelConstRef param
) SetVertexLeftTop( SInt16 x , SInt16 y ) Set the pixel coordinates of left-top vertex.
|
| SFXRectangleRef |
SetVertexRightBottom(
SFXPixelConstRef param
) SetVertexRightBottom( SInt16 x , SInt16 y ) Set the pixel coordinates of right-bottom vertex.
|
| SFXRectangleRef |
SetVertexRightTop(
SFXPixelConstRef param
) SetVertexRightTop( SInt16 x , SInt16 y ) Set the pixel coordinates of right-top vertex.
|
| SFXRectangleRef |
SetWidth(
SInt16 param
) Set the width.
|
| SFXRectangleRef |
SetX(
SInt16 param
) Set the X coordinate of left-top vertex.
|
| SFXRectangleRef |
SetY(
SInt16 param
) Set the Y coordinate of left-top vertex.
|
| SFXRectangleRef |
SnapBottom(
SInt16 param
) Set the Y coordinate of bottom edge and move this rectangle.
|
| SFXRectangleRef |
SnapLeft(
SInt16 param
) Set the X coordinate of left edge and move this rectangle.
|
| SFXRectangleRef |
SnapLeftBottom(
SFXGridConstRef param
) SnapLeftBottom( SInt16 x , SInt16 y ) Set the coordinates of left-bottom vertex and move this rectangle.
|
| SFXRectangleRef |
SnapLeftTop(
SFXGridConstRef param
) SnapLeftTop( SInt16 x , SInt16 y ) Set the coordinates of left-top vertex and move this rectangle.
|
| SFXRectangleRef |
SnapRight(
SInt16 param
) Set the X coordinate of right edge and move this rectangle.
|
| SFXRectangleRef |
SnapRightBottom(
SFXGridConstRef param
) SnapRightBottom( SInt16 x , SInt16 y ) Set the coordinates of right-bottom vertex and move this rectangle.
|
| SFXRectangleRef |
SnapRightTop(
SFXGridConstRef param
) SnapRightTop( SInt16 x , SInt16 y ) Set the coordinate of right-top vertex, ,move the rectangle.
|
| SFXRectangleRef |
SnapTop(
SInt16 param
) Set the Y coordinate top edge and move this rectangle.
|
| SFXRectangleRef |
SubBottom(
SInt16 param
) Subtract a specified value from the Y coordinate of bottom edge.
|
| SFXRectangleRef |
SubHeight(
SInt16 param
) Subtract a specified value from the Height.
|
| SFXRectangleRef |
SubLeft(
SInt16 param
) Subtract a specified value from the X coordinate of left edge.
|
| SFXRectangleRef |
SubLeftBottom(
SFXGridConstRef param
) SubLeftBottom( SInt16 x , SInt16 y ) Subtract a specified value from the coordinates of left-bottom vertex.
|
| SFXRectangleRef |
SubLeftTop(
SFXGridConstRef param
) SubLeftTop( SInt16 x , SInt16 y ) Subtract a specified value from the coordinates of left-top vertex.
|
| SFXRectangleRef |
SubOrigin(
SFXGridConstRef param
) SubOrigin( SInt16 x , SInt16 y ) Subtract a specified value from the coordinates of origin point (left-top vertex).
|
| SFXRectangleRef |
SubRight(
SInt16 param
) Subtract a specified value from the X coordinate of right edge.
|
| SFXRectangleRef |
SubRightBottom(
SFXGridConstRef param
) SubRightBottom( SInt16 x , SInt16 y ) Subtract a specified value from the corrdinates of right-bottom vertex.
|
| SFXRectangleRef |
SubRightTop(
SFXGridConstRef param
) SubRightTop( SInt16 x , SInt16 y ) Subtract a specified value from the coordinate of right-top vertex.
|
| SFXRectangleRef |
SubSize(
SFXSizeConstRef param
) SubSize( SInt16 width , SInt16 height ) Subtract a specified value from the size.
|
| SFXRectangleRef |
SubTop(
SInt16 param
) Subtract a specified value from the Y coordinate of top edge.
|
| SFXRectangleRef |
SubWidth(
SInt16 param
) Subtract a specified value from the width.
|
| SFXRectangleRef |
SubX(
SInt16 param
) Subtract a specified value from the X coordinate of left-top vertex.
|
| SFXRectangleRef |
SubY(
SInt16 param
) Subtract a specified value from the Y coordinate of left-top vertex.
|
| Bool |
UnifiesWith(
SFXRectangleConstRef param
) Check whether this rectangle unifies with another rectangle.
|
| SFXRectangleRef |
Union(
SFXRectangleConstRef param
) Union two rectangles.
|
| SFXRectangleRef |
Unoffset(
SFXGridConstRef param
) Unoffset( SInt16 x , SInt16 y ) Subtract from the coordinates of origin point (left-top vertex) and move this rectangle.
|
| static SFXRectangleConstRef |
ZeroInstance( Void ) Get the instance that represents 0.
|
| SFXRectangle |
operator &(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Get the intersection of the left rectangle with the right rectangle.
|
| SFXRectangleRef |
operator &=(
SFXRectangleConstRef param
) Get the intersection of the left rectangle with the right rectangle and set it to the left rectangle.
|
| SFXRectangleRef |
operator+=(
SFXGridConstRef param
) Add a specified value to the coordinates of left-top vertex and move this rectangle.
|
| SFXRectangleRef |
operator-=(
SFXGridConstRef param
) Subtract a specified value from the coordinates of left-top vertex and move this rectangle.
|
| SFXRectangleRef |
operator=(
SFXRectangleConstRef param
) Assign a rectangle.
|
| SFXRectangle |
operator|(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Get the rectangle that covers the two specified rectangles.
|
| SFXRectangleRef |
operator|=(
SFXRectangleConstRef param
) Get and set to the rectangle that covers the two specified rectangles.
|
| SFXRectangle::AtomRec * |
atomic_cast(
SFXRectangle * param
) Convert SFXRectangle into SFXRectangle::AtomRec.
|
| SFXRectangle::AtomRec const * |
atomic_cast(
SFXRectangle const * param
) Convert SFXRectangle into SFXRectangle::AtomRec.
|
| AEERect * |
interface_cast(
SFXRectangle * param
) Convert SFXRectangle into AEERect.
|
| AEERect const * |
interface_cast(
SFXRectangle const * param
) Convert SFXRectangle into AEERect.
|
| Bool |
operator==(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Check the "==" relation.
|
| SFXRectangle |
operator-(
SFXRectangleConstRef left
, SFXGridConstRef right
) Subtract a specified value from the coordinates of left-bottom vertex and move this rectangle.
|
| Bool |
operator!=(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Check the "!=" relation.
|
| SFXRectangle |
operator+(
SFXRectangleConstRef left
, SFXGridConstRef right
) Add a specified value to the coordinates of left-top vertex and move this rectangle.
|
| Types |
|---|
|
AtomRec
Structure that represents a rectangle.
|
| Global Functions | |
|---|---|
| SFXRectangle::AtomRec * |
atomic_cast(
SFXRectangle * param
) Convert SFXRectangle into SFXRectangle::AtomRec.
|
| SFXRectangle::AtomRec const * |
atomic_cast(
SFXRectangle const * param
) Convert SFXRectangle into SFXRectangle::AtomRec.
|
| AEERect * |
interface_cast(
SFXRectangle * param
) Convert SFXRectangle into AEERect.
|
| AEERect const * |
interface_cast(
SFXRectangle const * param
) Convert SFXRectangle into AEERect.
|
| Bool |
operator==(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Check the "==" relation.
|
| SFXRectangle |
operator-(
SFXRectangleConstRef left
, SFXGridConstRef right
) Subtract a specified value from the coordinates of left-bottom vertex and move this rectangle.
|
| Bool |
operator!=(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) Check the "!=" relation.
|
| SFXRectangle |
operator+(
SFXRectangleConstRef left
, SFXGridConstRef right
) Add a specified value to the coordinates of left-top vertex and move this rectangle.
|
[ public, explicit ] SFXRectangle(Void);
[ public ]
SFXRectangle(
SFXRectangleConstRef param // the source rectangle
);
[ public, explicit ]
SFXRectangle(
SFXGridConstRef origin // coordinates of left-top vertex
SFXSizeConstRef size // size
);
[ public, explicit ]
SFXRectangle(
SFXGridConstRef origin // coordinates of left-top vertex
SInt16 width // value
SInt16 height // height
);
[ public, explicit ]
SFXRectangle(
SInt16 x // X coordinate of left-top vertex
SInt16 y // Y coordinate of left-top vertex
SFXSizeConstRef size // size
);
[ public, explicit ]
SFXRectangle(
SInt16 x // X coordinate of left-top vertex
SInt16 y // Y coordinate of left-top vertex
SInt16 width // value
SInt16 height // height
);
[ public, explicit ]
SFXRectangle(
SFXPixelConstRef start // coordinates of left-top vertex
SFXPixelConstRef end // coordinates of right-bottom vertex
);
[ public ] SFXRectangleRef AddBottom( SInt16 param // value to add );
SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubBottom | SFXRectangle::MulBottom | SFXRectangle::DivBottom | SFXRectangle::ModBottom | SFXRectangle::NegBottom
[ public ] SFXRectangleRef AddHeight( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubHeight | SFXRectangle::MulHeight | SFXRectangle::DivHeight | SFXRectangle::ModHeight | SFXRectangle::NegHeight
[ public ] SFXRectangleRef AddLeft( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeft | SFXRectangle::MulLeft | SFXRectangle::DivLeft | SFXRectangle::ModLeft | SFXRectangle::NegLeft
[ public ] SFXRectangleRef AddLeftBottom( SFXGridConstRef param // value to add to the coordinates of left-bottom vertex );
[ public ] SFXRectangleRef AddLeftBottom( SInt16 x // value to add to the X coordinate of left-bottom vertex SInt16 y // value to add to the Y coordinate of left-bottom vertex );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeftBottom | SFXRectangle::MulLeftBottom | SFXRectangle::DivLeftBottom | SFXRectangle::ModLeftBottom | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef AddLeftTop( SFXGridConstRef param // value to add to the coordinates of left-top vertex );
[ public ] SFXRectangleRef AddLeftTop( SInt16 x // value to add to the X coordinate of left-top vertex SInt16 y // value to add to the Y coordinate of left-top vertex );
SFXRectangle rect(10, 20, 30, 40); rect.AddLeftTop(10, 10); // add to the coordinates of left-top vertex with (10, 10) // the width and height will be modified after the addition TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 30, width = 20, height = 30
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeftTop | SFXRectangle::MulLeftTop | SFXRectangle::DivLeftTop | SFXRectangle::ModLeftTop | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef AddOrigin( SFXGridConstRef param // value to add );
[ public ] SFXRectangleRef AddOrigin( SInt16 x // value to add to X coordinate SInt16 y // value to add to Y coordinate );
SFXRectangle rect(10, 20, 30, 40); rect.AddOrigin(10, 10); // add to the origin coordinates with (10, 10) // as the origin has been moved, the entire rectangle is moved, too (the width and height are not changed) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 30, width = 30, height = 40
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubOrigin | SFXRectangle::MulOrigin | SFXRectangle::DivOrigin | SFXRectangle::ModOrigin | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef AddRight( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRight | SFXRectangle::MulRight | SFXRectangle::DivRight | SFXRectangle::ModRight | SFXRectangle::NegRight
[ public ] SFXRectangleRef AddRightBottom( SFXGridConstRef param // value to add to the corrdinates of right-bottom vertex );
[ public ] SFXRectangleRef AddRightBottom( SInt16 x // value to add to X corrdinate of right-bottom vertex SInt16 y // value to add to Y corrdinate of right-bottom vertex );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRightBottom | SFXRectangle::MulRightBottom | SFXRectangle::DivRightBottom | SFXRectangle::ModRightBottom | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef AddRightTop( SFXGridConstRef param // value to add to the coordinates of right-top vertex );
[ public ] SFXRectangleRef AddRightTop( SInt16 x // value to add the X coordinate of right-top vertex SInt16 y // value to add the Y coordinate of right-top vertex );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRightTop | SFXRectangle::MulRightTop | SFXRectangle::DivRightTop | SFXRectangle::ModRightTop | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef AddSize( SFXSizeConstRef param // value to add );
[ public ] SFXRectangleRef AddSize( SInt16 width // value to add SInt16 height // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubSize | SFXRectangle::MulSize | SFXRectangle::DivSize | SFXRectangle::ModSize | SFXRectangle::NegSize