SophiaFramework UNIVERSE 5.3 |
Constructor/Destructor |
---|
SFXRectangle( Void ) Constructor of the SFXRectangle.
|
SFXRectangle(
SFXRectangleConstRef param
) Constructor of the SFXRectangle.
|
SFXRectangle(
SFXGridConstRef origin
, SFXSizeConstRef size
) Constructor of the SFXRectangle.
|
SFXRectangle(
SFXGridConstRef origin
, SInt16 width
, SInt16 height
) Constructor of the SFXRectangle.
|
SFXRectangle(
SInt16 x
, SInt16 y
, SFXSizeConstRef size
) Constructor of the SFXRectangle.
|
SFXRectangle(
SInt16 x
, SInt16 y
, SInt16 width
, SInt16 height
) Constructor of the SFXRectangle.
|
SFXRectangle(
SFXPixelConstRef start
, SFXPixelConstRef end
) Constructor of the SFXRectangle.
|
Public Functions | |
---|---|
SFXRectangleRef |
AddBottom(
SInt16 param
) Add the specified value to the Y coordinate of bottom edge.
|
SFXRectangleRef |
AddHeight(
SInt16 param
) Add the specified value to the height.
|
SFXRectangleRef |
AddLeft(
SInt16 param
) Add the specified value to the X coordinate of left edge.
|
SFXRectangleRef |
AddLeftBottom(
SFXGridConstRef param
) Add the specified value to the coordinates of left-bottom vertex.
|
SFXRectangleRef |
AddLeftBottom(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of left-bottom vertex.
|
SFXRectangleRef |
AddLeftTop(
SFXGridConstRef param
) Add the specified value to the coordinates of left-top vertex.
|
SFXRectangleRef |
AddLeftTop(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of left-top vertex.
|
SFXRectangleRef |
AddOrigin(
SFXGridConstRef param
) Add the specified value to the coordinates of the origin (left-top vertex).
|
SFXRectangleRef |
AddOrigin(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of the origin (left-top vertex).
|
SFXRectangleRef |
AddRight(
SInt16 param
) Add the specified value to the X coordinate of right edge.
|
SFXRectangleRef |
AddRightBottom(
SFXGridConstRef param
) Add the specified value to the coordinates of right-bottom vertex.
|
SFXRectangleRef |
AddRightBottom(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of right-bottom vertex.
|
SFXRectangleRef |
AddRightTop(
SFXGridConstRef param
) Add the specified value to the coordinates of right-top vertex.
|
SFXRectangleRef |
AddRightTop(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of right-top vertex.
|
SFXRectangleRef |
AddSize(
SFXSizeConstRef param
) Add the specified value to the size.
|
SFXRectangleRef |
AddSize(
SInt16 width
, SInt16 height
) Add the specified value to the size.
|
SFXRectangleRef |
AddTop(
SInt16 param
) Add the specified value to the Y coordinate of top edge.
|
SFXRectangleRef |
AddWidth(
SInt16 param
) Add the specified value to the width.
|
SFXRectangleRef |
AddX(
SInt16 param
) Add the specified value to the X coordinate of left-top vertex.
|
SFXRectangleRef |
AddY(
SInt16 param
) Add the specified value to the Y coordinate of left-top vertex.
|
SFXRectangleRef |
Deflate(
SFXMarginConstRef param
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
Deflate(
SFXSizeConstRef lt
, SFXSizeConstRef rb
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
Deflate(
SFXSizeConstRef lt
, SInt16 right
, SInt16 bottom
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
Deflate(
SInt16 left
, SInt16 top
, SFXSizeConstRef rb
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
Deflate(
SInt16 left
, SInt16 top
, SInt16 right
, SInt16 bottom
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
Deflate(
SInt16 horizontal
, SInt16 vertical
) Deflate this rectangle by the specified value.
|
SFXRectangleRef |
DivBottom(
SInt16 param
) Divide the Y coordinate of bottom edge by the specified value.
|
SFXRectangleRef |
DivHeight(
SInt16 param
) Divide the height by the specified value.
|
SFXRectangleRef |
DivLeft(
SInt16 param
) Divide the X coordinate of left edge by the specified value.
|
SFXRectangleRef |
DivLeftBottom(
SInt16 x
, SInt16 y
) Divide the coordinates of left-bottom vertex by the specified value.
|
SFXRectangleRef |
DivLeftBottom(
SInt16 param
) Divide the coordinates of left-bottom vertex by the specified value.
|
SFXRectangleRef |
DivLeftTop(
SInt16 x
, SInt16 y
) Divide the coordinates of left-top vertex by the specified value.
|
SFXRectangleRef |
DivLeftTop(
SInt16 param
) Divide the coordinates of left-top vertex by the specified value.
|
SFXRectangleRef |
DivOrigin(
SInt16 x
, SInt16 y
) Divide the coordinates of the origin (left-top vertex) by the specified value.
|
SFXRectangleRef |
DivOrigin(
SInt16 param
) Divide the coordinates of the origin (left-top vertex) by the specified value.
|
SFXRectangleRef |
DivRight(
SInt16 param
) Divide the X coordinate of right edge by the specified value.
|
SFXRectangleRef |
DivRightBottom(
SInt16 x
, SInt16 y
) Divide the coordinates of right-bottom vertex.
|
SFXRectangleRef |
DivRightBottom(
SInt16 param
) Divide the coordinates of right-bottom vertex.
|
SFXRectangleRef |
DivRightTop(
SInt16 x
, SInt16 y
) Divide the coordinates of right-top vertex by the specified value.
|
SFXRectangleRef |
DivRightTop(
SInt16 param
) Divide the coordinates of right-top vertex by the specified value.
|
SFXRectangleRef |
DivSize(
SInt16 width
, SInt16 height
) Divide the size by the specified value.
|
SFXRectangleRef |
DivSize(
SInt16 param
) Divide the size by the specified value.
|
SFXRectangleRef |
DivTop(
SInt16 param
) Divide the Y coordinate of top edge by the specified value.
|
SFXRectangleRef |
DivWidth(
SInt16 param
) Divide the width by the specified value.
|
SFXRectangleRef |
DivX(
SInt16 param
) Divide the X coordinate of left-top vertex by the specified value.
|
SFXRectangleRef |
DivY(
SInt16 param
) Divide the Y coordinate of left-top vertex by the specified value.
|
static SFXRectangleConstRef |
EmptyInstance( Void ) Get an empty rectangle.
|
Bool |
Equals(
SFXRectangleConstRef param
) Check whether this rectangle equals the specified rectangle or not.
|
Bool |
Equals(
SFXGridConstRef origin
, SFXSizeConstRef size
) Check whether this rectangle equals the specified rectangle or not.
|
Bool |
Equals(
SFXGridConstRef origin
, SInt16 width
, SInt16 height
) Check whether this rectangle equals the specified rectangle or not.
|
Bool |
Equals(
SInt16 x
, SInt16 y
, SFXSizeConstRef size
) Check whether this rectangle equals the specified rectangle or not.
|
Bool |
Equals(
SInt16 x
, SInt16 y
, SInt16 width
, SInt16 height
) Check whether this rectangle equals the specified rectangle or not.
|
SInt16 |
GetBottom( Void ) Get the Y coordinate of the bottom edge.
|
SInt16 |
GetCenter( Void ) Get the X coordinate of the center of rectangle.
|
SFXGrid |
GetCenterBottom( Void ) Get the grid coordinate of the bottom edge of rectangle.
|
SFXGrid |
GetCenterMiddle( Void ) Get the grid coordinate of the center of rectangle.
|
SFXGrid |
GetCenterTop( Void ) Get the grid coordinate of the top edge of rectangle.
|
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 |
GetLeftMiddle( Void ) Get the grid coordinate of the center of the left edge of rectangle.
|
SFXGrid |
GetLeftTop( Void ) Get the grid coordinates of left-top vertex.
|
SInt16 |
GetMiddle( Void ) Get the Y coordinate of the center of rectangle.
|
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 |
GetRightMiddle( Void ) Get the grid coordinate of the center of the right edge of rectangle.
|
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 this rectangle by the specified value.
|
SFXRectangleRef |
Inflate(
SFXSizeConstRef lt
, SFXSizeConstRef rb
) Inflate this rectangle by the specified value.
|
SFXRectangleRef |
Inflate(
SFXSizeConstRef lt
, SInt16 right
, SInt16 bottom
) Inflate this rectangle by the specified value.
|
SFXRectangleRef |
Inflate(
SInt16 left
, SInt16 top
, SFXSizeConstRef rb
) Inflate this rectangle by the specified value.
|
SFXRectangleRef |
Inflate(
SInt16 left
, SInt16 top
, SInt16 right
, SInt16 bottom
) Inflate this rectangle by the specified value.
|
SFXRectangleRef |
Inflate(
SInt16 horizontal
, SInt16 vertical
) Inflate this rectangle by the specified value.
|
SFXRectangleRef |
Intersection(
SFXRectangleConstRef param
) Get the intersection of this rectangle with the specified rectangle.
|
Bool |
IntersectsWith(
SFXRectangleConstRef param
) Check whether this rectangle intersects with the specified rectangle or not.
|
Bool |
IsEmpty( Void ) Check whether or not this rectangle is empty.
|
Bool |
IsInsideOf(
SFXRectangleConstRef param
) Check whether this rectangle is inside of the specified rectangle or not.
|
SFXMargin |
MarginTo(
SFXRectangleConstRef param
) Get the margin between this rectangle and the specified rectangle.
|
SFXRectangleRef |
ModBottom(
SInt16 param
) Set the Y coordinate of the bottom edge to the remainder of the division of this coordinate by the specified value.
|
SFXRectangleRef |
ModHeight(
SInt16 param
) Set the height to the remainder of the division of the height by the specified value.
|
SFXRectangleRef |
ModLeft(
SInt16 param
) Set the X coordinate of the left edge to the remainder of the division of this coordinate by the specified value.
|
SFXRectangleRef |
ModLeftBottom(
SInt16 x
, SInt16 y
) Set the coordinates of left-bottom vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModLeftBottom(
SInt16 param
) Set the coordinates of left-bottom vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModLeftTop(
SInt16 x
, SInt16 y
) Set the coordinates of left-top vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModLeftTop(
SInt16 param
) Set the coordinates of left-top vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModOrigin(
SInt16 x
, SInt16 y
) Set the origin coordinates (left-top vertex) to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModOrigin(
SInt16 param
) Set the origin coordinates (left-top vertex) to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModRight(
SInt16 param
) Set the X coordinate of the right edge to the remainder of the division of this coordinate by the specified value.
|
SFXRectangleRef |
ModRightBottom(
SInt16 x
, SInt16 y
) Set the coordinates of right-bottom vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModRightBottom(
SInt16 param
) Set the coordinates of right-bottom vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModRightTop(
SInt16 x
, SInt16 y
) Set the coordinates of right-top vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModRightTop(
SInt16 param
) Set the coordinates of right-top vertex to the remainder of the division of this coordinates by the specified value.
|
SFXRectangleRef |
ModSize(
SInt16 width
, SInt16 height
) Set the size to the remainder of the division of this size by the specified value.
|
SFXRectangleRef |
ModSize(
SInt16 param
) Set the size to the remainder of the division of this size by the specified value.
|
SFXRectangleRef |
ModTop(
SInt16 param
) Set the Y coordinate of top edge to the remainder of the division of this coordinate by the specified value..
|
SFXRectangleRef |
ModWidth(
SInt16 param
) Set the width to the remainder of the division of this width by the specified value.
|
SFXRectangleRef |
ModX(
SInt16 param
) Set the X coordinate of left-top vertex to the remainder of the division of this coordinate by the specified value.
|
SFXRectangleRef |
ModY(
SInt16 param
) Set the Y coordinate of left-top vertex to the remainder of the division of this coordinate by the specified value.
|
SFXRectangleRef |
MulBottom(
SInt16 param
) Multiply the Y coordinate of this bottom edge by the specified value.
|
SFXRectangleRef |
MulHeight(
SInt16 param
) Multiply the height by the specified value.
|
SFXRectangleRef |
MulLeft(
SInt16 param
) Multiply the X coordinate of the left edge by the specified value.
|
SFXRectangleRef |
MulLeftBottom(
SInt16 x
, SInt16 y
) Multiply the coordinates of left-bottom vertex by the specified value.
|
SFXRectangleRef |
MulLeftBottom(
SInt16 param
) Multiply the coordinates of left-bottom vertex by the specified value.
|
SFXRectangleRef |
MulLeftTop(
SInt16 x
, SInt16 y
) Multiply the coordinates of left-top vertex by the specified value.
|
SFXRectangleRef |
MulLeftTop(
SInt16 param
) Multiply the coordinates of left-top vertex by the specified value.
|
SFXRectangleRef |
MulOrigin(
SInt16 x
, SInt16 y
) Multiply the origin coordinates (left-top vertex) by the specified value.
|
SFXRectangleRef |
MulOrigin(
SInt16 param
) Multiply the origin coordinates (left-top vertex) by the specified value.
|
SFXRectangleRef |
MulRight(
SInt16 param
) Multiply the X coordinate of the right edge by the specified value.
|
SFXRectangleRef |
MulRightBottom(
SInt16 x
, SInt16 y
) Multiply the coordinates of right-bottom vertex by the specified value.
|
SFXRectangleRef |
MulRightBottom(
SInt16 param
) Multiply the coordinates of right-bottom vertex by the specified value.
|
SFXRectangleRef |
MulRightTop(
SInt16 x
, SInt16 y
) Multiply the coordinates of right-top vertex by the specified value.
|
SFXRectangleRef |
MulRightTop(
SInt16 param
) Multiply the coordinates of right-top vertex by the specified value.
|
SFXRectangleRef |
MulSize(
SInt16 width
, SInt16 height
) Multiply the size by the specified value.
|
SFXRectangleRef |
MulSize(
SInt16 param
) Multiply the size by the specified value.
|
SFXRectangleRef |
MulTop(
SInt16 param
) Multiply the Y coordinate of the top edge by the specified value.
|
SFXRectangleRef |
MulWidth(
SInt16 param
) Multiply the width by the specified value.
|
SFXRectangleRef |
MulX(
SInt16 param
) Multiply the X coordinate of left-top vertex by the specified value.
|
SFXRectangleRef |
MulY(
SInt16 param
) Multiply the Y coordinate of left-top vertex by the 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 coordinate 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
) Add the specified value to the coordinates of the origin point (left-top vertex) and move this rectangle.
|
SFXRectangleRef |
Offset(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of the origin point (left-top vertex) and move this rectangle.
|
SFXRectangleRef |
Set(
SFXRectangleConstRef param
) Set the rectangle.
|
SFXRectangleRef |
Set(
SFXGridConstRef origin
, SFXSizeConstRef size
) Set the rectangle.
|
SFXRectangleRef |
Set(
SFXGridConstRef origin
, SInt16 width
, SInt16 height
) Set the rectangle.
|
SFXRectangleRef |
Set(
SInt16 x
, SInt16 y
, SFXSizeConstRef size
) Set the rectangle.
|
SFXRectangleRef |
Set(
SInt16 x
, SInt16 y
, SInt16 width
, SInt16 height
) Set the rectangle.
|
SFXRectangleRef |
Set(
SFXPixelConstRef start
, SFXPixelConstRef end
) 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
) Set the grid coordinates of left-bottom vertex.
|
SFXRectangleRef |
SetLeftBottom(
SInt16 x
, SInt16 y
) Set the grid coordinates of left-bottom vertex.
|
SFXRectangleRef |
SetLeftTop(
SFXGridConstRef param
) Set the grid coordinates of left-top vertex.
|
SFXRectangleRef |
SetLeftTop(
SInt16 x
, SInt16 y
) Set the grid coordinates of left-top vertex.
|
SFXRectangleRef |
SetOrigin(
SFXGridConstRef param
) Set the grid coordinates of origin point (left-top vertex).
|
SFXRectangleRef |
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
) Set the grid coordinates of right-bottom vertex.
|
SFXRectangleRef |
SetRightBottom(
SInt16 x
, SInt16 y
) Set the grid coordinates of right-bottom vertex.
|
SFXRectangleRef |
SetRightTop(
SFXGridConstRef param
) Set the grid coordinates of right-top vertex.
|
SFXRectangleRef |
SetRightTop(
SInt16 x
, SInt16 y
) Set the grid coordinates of right-top vertex.
|
SFXRectangleRef |
SetSize(
SFXSizeConstRef param
) Set the size.
|
SFXRectangleRef |
SetSize(
SInt16 width
, SInt16 height
) Set the size.
|
SFXRectangleRef |
SetTop(
SInt16 param
) Set the Y coordinate of top edge.
|
SFXRectangleRef |
SetVertexLeftBottom(
SFXPixelConstRef param
) Set the pixel coordinates of left-bottom vertex.
|
SFXRectangleRef |
SetVertexLeftBottom(
SInt16 x
, SInt16 y
) Set the pixel coordinates of left-bottom vertex.
|
SFXRectangleRef |
SetVertexLeftTop(
SFXPixelConstRef param
) Set the pixel coordinates of left-top vertex.
|
SFXRectangleRef |
SetVertexLeftTop(
SInt16 x
, SInt16 y
) Set the pixel coordinates of left-top vertex.
|
SFXRectangleRef |
SetVertexRightBottom(
SFXPixelConstRef param
) Set the pixel coordinates of right-bottom vertex.
|
SFXRectangleRef |
SetVertexRightBottom(
SInt16 x
, SInt16 y
) Set the pixel coordinates of right-bottom vertex.
|
SFXRectangleRef |
SetVertexRightTop(
SFXPixelConstRef param
) Set the pixel coordinates of right-top vertex.
|
SFXRectangleRef |
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 |
SnapCenter(
SInt16 param
) Set the X coordinate of the center of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterBottom(
SFXGridConstRef param
) Set the center of the bottom edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterBottom(
SInt16 x
, SInt16 y
) Set the center of the bottom edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterMiddle(
SFXGridConstRef param
) Set the center of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterMiddle(
SInt16 x
, SInt16 y
) Set the center of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterTop(
SFXGridConstRef param
) Set the center of the top edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapCenterTop(
SInt16 x
, SInt16 y
) Set the center of the top edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapLeft(
SInt16 param
) Set the X coordinate of left edge and move this rectangle.
|
SFXRectangleRef |
SnapLeftBottom(
SFXGridConstRef param
) Set the coordinates of left-bottom vertex and move this rectangle.
|
SFXRectangleRef |
SnapLeftBottom(
SInt16 x
, SInt16 y
) Set the coordinates of left-bottom vertex and move this rectangle.
|
SFXRectangleRef |
SnapLeftMiddle(
SFXGridConstRef param
) Set the center of the left edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapLeftMiddle(
SInt16 x
, SInt16 y
) Set the center of the left edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapLeftTop(
SFXGridConstRef param
) Set the coordinates of left-top vertex and move this rectangle.
|
SFXRectangleRef |
SnapLeftTop(
SInt16 x
, SInt16 y
) Set the coordinates of left-top vertex and move this rectangle.
|
SFXRectangleRef |
SnapMiddle(
SInt16 param
) Set the Y coordinate of the center of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapRight(
SInt16 param
) Set the X coordinate of right edge and move this rectangle.
|
SFXRectangleRef |
SnapRightBottom(
SFXGridConstRef param
) Set the coordinates of right-bottom vertex and move this rectangle.
|
SFXRectangleRef |
SnapRightBottom(
SInt16 x
, SInt16 y
) Set the coordinates of right-bottom vertex and move this rectangle.
|
SFXRectangleRef |
SnapRightMiddle(
SFXGridConstRef param
) Set the center of the right edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapRightMiddle(
SInt16 x
, SInt16 y
) Set the center of the right edge of rectangle to the specified value and move the rectangle.
|
SFXRectangleRef |
SnapRightTop(
SFXGridConstRef param
) Set the coordinate of right-top vertex, ,move the rectangle.
|
SFXRectangleRef |
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 the specified value from the Y coordinate of bottom edge.
|
SFXRectangleRef |
SubHeight(
SInt16 param
) Subtract the specified value from the Height.
|
SFXRectangleRef |
SubLeft(
SInt16 param
) Subtract the specified value from the X coordinate of left edge.
|
SFXRectangleRef |
SubLeftBottom(
SFXGridConstRef param
) Subtract the specified value from the coordinates of left-bottom vertex.
|
SFXRectangleRef |
SubLeftBottom(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of left-bottom vertex.
|
SFXRectangleRef |
SubLeftTop(
SFXGridConstRef param
) Subtract the specified value from the coordinates of left-top vertex.
|
SFXRectangleRef |
SubLeftTop(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of left-top vertex.
|
SFXRectangleRef |
SubOrigin(
SFXGridConstRef param
) Subtract the specified value from the coordinates of origin point (left-top vertex).
|
SFXRectangleRef |
SubOrigin(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of origin point (left-top vertex).
|
SFXRectangleRef |
SubRight(
SInt16 param
) Subtract the specified value from the X coordinate of right edge.
|
SFXRectangleRef |
SubRightBottom(
SFXGridConstRef param
) Subtract the specified value from the coordinates of right-bottom vertex.
|
SFXRectangleRef |
SubRightBottom(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of right-bottom vertex.
|
SFXRectangleRef |
SubRightTop(
SFXGridConstRef param
) Subtract the specified value from the coordinate of right-top vertex.
|
SFXRectangleRef |
SubRightTop(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinate of right-top vertex.
|
SFXRectangleRef |
SubSize(
SFXSizeConstRef param
) Subtract the specified value from the size.
|
SFXRectangleRef |
SubSize(
SInt16 width
, SInt16 height
) Subtract the specified value from the size.
|
SFXRectangleRef |
SubTop(
SInt16 param
) Subtract the specified value from the Y coordinate of top edge.
|
SFXRectangleRef |
SubWidth(
SInt16 param
) Subtract the specified value from the width.
|
SFXRectangleRef |
SubX(
SInt16 param
) Subtract the specified value from the X coordinate of left-top vertex.
|
SFXRectangleRef |
SubY(
SInt16 param
) Subtract the 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
) Subtract from the coordinates of origin point (left-top vertex) and move this rectangle.
|
SFXRectangleRef |
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 the specified value to the coordinates of left-top vertex and move this rectangle.
|
SFXRectangleRef |
operator-=(
SFXGridConstRef param
) Subtract the 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 the 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 the 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 the 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 the 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 coordinates of right-bottom vertex );
[ public ] SFXRectangleRef AddRightBottom( SInt16 x // value to add to X coordinate of right-bottom vertex SInt16 y // value to add to Y coordinate 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
[ public ] SFXRectangleRef AddTop( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubTop | SFXRectangle::MulTop | SFXRectangle::DivTop | SFXRectangle::ModTop | SFXRectangle::NegTop
[ public ] SFXRectangleRef AddWidth( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubWidth | SFXRectangle::MulWidth | SFXRectangle::DivWidth | SFXRectangle::ModWidth | SFXRectangle::NegWidth
[ public ] SFXRectangleRef AddX( SInt16 param // value to add );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddY | SFXRectangle::SubX | SFXRectangle::MulX | SFXRectangle::DivX | SFXRectangle::ModX | SFXRectangle::NegX
[ public ] SFXRectangleRef AddY( SInt16 param // value to add );
SFXRectangle::AddBottom | 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::SubY | SFXRectangle::MulY | SFXRectangle::DivY | SFXRectangle::ModY | SFXRectangle::NegY
[ public ] SFXRectangleRef Deflate( SFXMarginConstRef param // value to deflate (margin) );
[ public ] SFXRectangleRef Deflate( SFXSizeConstRef lt // value to deflate on left-top SFXSizeConstRef rb // value to deflate on right-bottom );
[ public ] SFXRectangleRef Deflate( SFXSizeConstRef lt // value to deflate on left-top SInt16 right // value to deflate on right SInt16 bottom // value to deflate on bottom );
[ public ] SFXRectangleRef Deflate( SInt16 left // value to deflate on left SInt16 top // value to deflate on top SFXSizeConstRef rb // value to deflate on right-bottom );
[ public ] SFXRectangleRef Deflate( SInt16 left // value to deflate on left SInt16 top // value to deflate on top SInt16 right // value to deflate on right SInt16 bottom // value to deflate on bottom );
[ public ] SFXRectangleRef Deflate( SInt16 horizontal // value to deflate on left SInt16 vertical // value to deflate on top );
SFXRectangle rect(10, 20, 30, 40); // deflate the rectangle rect.Deflate(10, 10); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 20, y = 30, width = 10, height = 20
[ public ] SFXRectangleRef DivBottom( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddBottom | SFXRectangle::SubBottom | SFXRectangle::MulBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModBottom | SFXRectangle::NegBottom
[ public ] SFXRectangleRef DivHeight( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddHeight | SFXRectangle::SubHeight | SFXRectangle::MulHeight | SFXRectangle::DivBottom | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModHeight | SFXRectangle::NegHeight
[ public ] SFXRectangleRef DivLeft( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddLeft | SFXRectangle::SubLeft | SFXRectangle::MulLeft | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModLeft | SFXRectangle::NegLeft
[ public ] SFXRectangleRef DivLeftBottom( SInt16 x // divide the X coordinate of left-bottom vertex by this value SInt16 y // divide the Y coordinate of left-bottom vertex by this value );
[ public ] SFXRectangleRef DivLeftBottom( SInt16 param // divide the coordinates of left-bottom vertex by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddLeftBottom | SFXRectangle::SubLeftBottom | SFXRectangle::MulLeftBottom | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModLeftBottom | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef DivLeftTop( SInt16 x // divide the X coordinate of left-top vertex by this value SInt16 y // divide the Y coordinate of left-top vertex by this value );
[ public ] SFXRectangleRef DivLeftTop( SInt16 param // divide the coordinates of left-top vertex by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle rect(10, 20, 30, 40); rect.DivLeftTop(10, 10); // divide the coordinates of left-top vertex by (10, 10) // the width and height will be modified after the division TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 1, y = 2, width = 39, height = 58
SFXRectangle::AddLeftTop | SFXRectangle::SubLeftTop | SFXRectangle::MulLeftTop | SFXRectangle::DivTop | SFXRectangle::DivLeft | SFXRectangle::ModLeftTop | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef DivOrigin( SInt16 x // divide the X coordinate by this value SInt16 y // divide the Y coordinate by this value );
[ public ] SFXRectangleRef DivOrigin( SInt16 param // divide the origin coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle rect(10, 20, 30, 40); rect.DivOrigin(10, 10); // divide the origin coordinates by (10, 10) // as the origin has been moved, the entire rectangle is moved, too (width and height are not changed) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 1, y = 2, width = 30, height = 40
SFXRectangle::AddOrigin | SFXRectangle::SubOrigin | SFXRectangle::MulOrigin | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModOrigin | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef DivRight( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddRight | SFXRectangle::SubRight | SFXRectangle::MulRight | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModRight | SFXRectangle::NegRight
[ public ] SFXRectangleRef DivRightBottom( SInt16 x // divide the X coordinate of right-bottom vertex by this value SInt16 y // divide the Y coordinate of right-bottom vertex by this value );
[ public ] SFXRectangleRef DivRightBottom( SInt16 param // divide the coordinates of right-bottom vertex by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddRightBottom | SFXRectangle::SubRightBottom | SFXRectangle::MulRightBottom | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModRightBottom | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef DivRightTop( SInt16 x // divide the X coordinate of right-top vertex by this value SInt16 y // divide the Y coordinate of right-top vertex by this value );
[ public ] SFXRectangleRef DivRightTop( SInt16 param // divide the coordinates of right-top vertex by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddRightTop | SFXRectangle::SubRightTop | SFXRectangle::MulRightTop | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModRightTop | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef DivSize( SInt16 width // divide the width by this value SInt16 height // divide the height by this value );
[ public ] SFXRectangleRef DivSize( SInt16 param //divide the width and height by this value );
The behaviour is not defined when the value of width, height, or param argument is 0.
SFXRectangle::AddSize | SFXRectangle::SubSize | SFXRectangle::ModSize | SFXRectangle::MulSize | SFXRectangle::NegSize | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY
[ public ] SFXRectangleRef DivTop( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddTop | SFXRectangle::SubTop | SFXRectangle::MulTop | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModTop | SFXRectangle::NegTop
[ public ] SFXRectangleRef DivWidth( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddWidth | SFXRectangle::SubWidth | SFXRectangle::MulWidth | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivX | SFXRectangle::DivY | SFXRectangle::ModWidth | SFXRectangle::NegWidth
[ public ] SFXRectangleRef DivX( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddX | SFXRectangle::SubX | SFXRectangle::MulX | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivY | SFXRectangle::ModX | SFXRectangle::NegX
[ public ] SFXRectangleRef DivY( SInt16 param // value to divide );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddY | SFXRectangle::SubY | SFXRectangle::MulY | SFXRectangle::DivBottom | SFXRectangle::DivHeight | SFXRectangle::DivLeft | SFXRectangle::DivLeftBottom | SFXRectangle::DivLeftTop | SFXRectangle::DivOrigin | SFXRectangle::DivRight | SFXRectangle::DivRightBottom | SFXRectangle::DivRightTop | SFXRectangle::DivSize | SFXRectangle::DivTop | SFXRectangle::DivWidth | SFXRectangle::DivX | SFXRectangle::ModY | SFXRectangle::NegY
[ public, static ] SFXRectangleConstRef EmptyInstance(Void);
Return an empty SFXRectangle instance, which means this shape has no area.
A shape has no area if the value of a length-related variable is less than or equals 0. This instance is used mainly as initial value of the assignment statement or return value of the shape-related function.
[ public, const ] Bool Equals( SFXRectangleConstRef param // rectangle to compare );
[ public, const ] Bool Equals( SFXGridConstRef origin // coordinates of left-top vertex of the rectangle to compare SFXSizeConstRef size // size of the rectangle to compare );
[ public, const ] Bool Equals( SFXGridConstRef origin // coordinates of left-top vertex of the rectangle to compare SInt16 width // width of the rectangle to compare SInt16 height // height of the rectangle to compare );
[ public, const ] Bool Equals( SInt16 x // X coordinate of left-top vertex of the rectangle to compare SInt16 y // Y coordinate of left-top vertex of the rectangle to compare SFXSizeConstRef size // size of the rectangle to compare );
[ public, const ] Bool Equals( SInt16 x // X coordinate of left-top vertex of the rectangle to compare SInt16 y // Y coordinate of left-top vertex of the rectangle to compare SInt16 width // width of the rectangle to compare SInt16 height // height of the rectangle to compare );
[ public, const ] SInt16 GetBottom(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetBottom
[ public, const ] SInt16 GetCenter(Void);
[ public, const ] SFXGrid GetCenterBottom(Void);
[ public, const ] SFXGrid GetCenterMiddle(Void);
[ public, const ] SFXGrid GetCenterTop(Void);
[ public, const ] SFXLine GetEdgeBottom(Void);
[ public, const ] SFXLine GetEdgeLeft(Void);
[ public, const ] SFXLine GetEdgeRight(Void);
[ public, const ] SFXLine GetEdgeTop(Void);
[ public, const ] SInt16 GetHeight(Void);
SFXRectangle::GetBottom | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetHeight
[ public, const ] SInt16 GetLeft(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetLeft
[ public, const ] SFXGrid GetLeftBottom(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetLeftBottom
[ public, const ] SFXGrid GetLeftMiddle(Void);
[ public, const ] SFXGrid GetLeftTop(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetLeftTop
[ public, const ] SInt16 GetMiddle(Void);
[ public, const ] SFXGridConstRef GetOrigin(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetOrigin
[ public, const ] SInt16 GetRight(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetRight
[ public, const ] SFXGrid GetRightBottom(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetRightBottom
[ public, const ] SFXGrid GetRightMiddle(Void);
[ public, const ] SFXGrid GetRightTop(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetRightTop
[ public, const ] SFXSizeConstRef GetSize(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetSize
[ public, const ] SInt16 GetTop(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetTop
[ public, const ] SFXPixel GetVertexLeftBottom(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetVertexLeftBottom
[ public, const ] SFXPixel GetVertexLeftTop(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY
[ public, const ] SFXPixel GetVertexRightBottom(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY
[ public, const ] SFXPixel GetVertexRightTop(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetVertexRightTop
[ public, const ] SInt16 GetWidth(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetX | SFXRectangle::GetY | SFXRectangle::SetWidth
[ public, const ] SInt16 GetX(Void);
SFXRectangle::GetY | SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetY SFXRectangle::SetX
[ public, const ] SInt16 GetY(Void);
SFXRectangle::GetBottom | SFXRectangle::GetHeight | SFXRectangle::GetLeft | SFXRectangle::GetLeftBottom | SFXRectangle::GetLeftTop | SFXRectangle::GetOrigin | SFXRectangle::GetRight | SFXRectangle::GetRightBottom | SFXRectangle::GetRightTop | SFXRectangle::GetSize | SFXRectangle::GetTop | SFXRectangle::GetVertexLeftBottom | SFXRectangle::GetVertexLeftTop | SFXRectangle::GetVertexRightBottom | SFXRectangle::GetVertexRightTop | SFXRectangle::GetWidth | SFXRectangle::GetX | SFXRectangle::SetY
[ public ] SFXRectangleRef Inflate( SFXMarginConstRef param // size to inflate (margin) );
[ public ] SFXRectangleRef Inflate( SFXSizeConstRef lt // expand the left-top with this size SFXSizeConstRef rb // expand the right-bottom with this size );
[ public ] SFXRectangleRef Inflate( SFXSizeConstRef lt // expand the left-top with this size SInt16 right // expand the right side with this value SInt16 bottom // expand the bottom with this value );
[ public ] SFXRectangleRef Inflate( SInt16 left // expand the left side with this value SInt16 top // expand the top with this value SFXSizeConstRef rb // expand the right-bottom vertex with this size );
[ public ] SFXRectangleRef Inflate( SInt16 left // expand the left with this value SInt16 top // expand the top with this value SInt16 right // expand the right side with this value SInt16 bottom // expand the bottom with this value );
[ public ] SFXRectangleRef Inflate( SInt16 horizontal // expand the left with this value SInt16 vertical // expand the top with this value );
SFXRectangle rect(10, 20, 30, 40); // inflate the rectangle rect.Inflate(20, 20); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = -10, y = 0, width = 70, height = 80
[ public ] SFXRectangleRef Intersection( SFXRectangleConstRef param // rectangle to compare );
SFXRectangle rect1(10,20,30,40); SFXRectangle rect2(30,40,50,60); // get the intersection of rect1 and rect2 rect1 = rect1.Intersection(rect2); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 30, y = 40, width = 10, height = 20
[ public, const ] Bool IntersectsWith( SFXRectangleConstRef param // rectangle to check );
[ public, const ] Bool IsEmpty(Void);
This fucntion checks whether or not this rectangle is empty.
If the width or height of this rectangle is less than or equals 0, true will be returned.
[ public, const ] Bool IsInsideOf( SFXRectangleConstRef param // basic rectangle );
[ public, const ] SFXMargin MarginTo( SFXRectangleConstRef param // the rectangle outside );
This function gets the margin between this rectangle and the specified rectangle.
Note | |
---|---|
This function computes the margin assuming that the param rectangle includes this rectangle. Conversely, if this rectangle includes the param rectangle, a negative margin will be returned. |
[ public ] SFXRectangleRef ModBottom( SInt16 param // divide Y coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddBottom | SFXRectangle::SubBottom | SFXRectangle::MulBottom | SFXRectangle::DivBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegBottom
[ public ] SFXRectangleRef ModHeight( SInt16 param // divide the height by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddHeight | SFXRectangle::SubHeight | SFXRectangle::MulHeight | SFXRectangle::DivHeight | SFXRectangle::ModBottom | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegHeight
[ public ] SFXRectangleRef ModLeft( SInt16 param // divide X coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddLeft | SFXRectangle::SubLeft | SFXRectangle::MulLeft | SFXRectangle::DivLeft | SFXRectangle::ModTop | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegLeft
[ public ] SFXRectangleRef ModLeftBottom( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXRectangleRef ModLeftBottom( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddLeftBottom | SFXRectangle::SubLeftBottom | SFXRectangle::MulLeftBottom | SFXRectangle::DivLeftBottom | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef ModLeftTop( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXRectangleRef ModLeftTop( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle rect(10, 20, 30, 40); rect.ModLeftTop(10, 10); // modular divide the coordinate of left-top vertex by (10, 10) // the width and height will be changed after the division, too TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 0, y = 0, width = 40, height = 60
SFXRectangle::AddLeftTop | SFXRectangle::SubLeftTop | SFXRectangle::MulLeftTop | SFXRectangle::DivLeftTop | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef ModOrigin( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXRectangleRef ModOrigin( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle rect(10, 20, 30, 40); rect.ModOrigin(10, 10); // modular divide the origin coordinates by (10, 10) // as the origin point has been moved, the entire rectangle is moved, too (width and height are not changed) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 0, y = 0, width = 30, height = 40
SFXRectangle::AddOrigin | SFXRectangle::SubOrigin | SFXRectangle::MulOrigin | SFXRectangle::DivOrigin | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef ModRight( SInt16 param // divide the X coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddRight | SFXRectangle::SubRight | SFXRectangle::MulRight | SFXRectangle::DivRight | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegRight
[ public ] SFXRectangleRef ModRightBottom( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXRectangleRef ModRightBottom( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddRightBottom | SFXRectangle::SubRightBottom | SFXRectangle::MulRightBottom | SFXRectangle::DivRightBottom | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef ModRightTop( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXRectangleRef ModRightTop( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXRectangle::AddRightTop | SFXRectangle::SubRightTop | SFXRectangle::MulRightTop | SFXRectangle::DivRightTop | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef ModSize( SInt16 width // divide the width by this value SInt16 height // divide the height by this value );
[ public ] SFXRectangleRef ModSize( SInt16 param // divide the width and height by this value );
The operation when the value of param, width, height is 0 has not been defined yet.
SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY
[ public ] SFXRectangleRef ModTop( SInt16 param // divide Y coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddTop | SFXRectangle::SubTop | SFXRectangle::MulTop | SFXRectangle::DivTop | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegTop
[ public ] SFXRectangleRef ModWidth( SInt16 param // divide the width by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddWidth | SFXRectangle::SubWidth | SFXRectangle::MulWidth | SFXRectangle::DivWidth | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModX | SFXRectangle::ModY | SFXRectangle::NegWidth
[ public ] SFXRectangleRef ModX( SInt16 param // divide X coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddX | SFXRectangle::SubX | SFXRectangle::MulX | SFXRectangle::DivX | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModY | SFXRectangle::NegX
[ public ] SFXRectangleRef ModY( SInt16 param // divide Y coordinate by this value );
The behaviour is not defined when the value of param argument is 0.
SFXRectangle::AddY | SFXRectangle::SubY | SFXRectangle::MulY | SFXRectangle::DivY | SFXRectangle::ModBottom | SFXRectangle::ModHeight | SFXRectangle::ModLeft | SFXRectangle::ModLeftBottom | SFXRectangle::ModLeftTop | SFXRectangle::ModOrigin | SFXRectangle::ModRight | SFXRectangle::ModRightBottom | SFXRectangle::ModRightTop | SFXRectangle::ModSize | SFXRectangle::ModTop | SFXRectangle::ModWidth | SFXRectangle::ModX | SFXRectangle::NegY
[ public ] SFXRectangleRef MulBottom( SInt16 param // multiply the Y coordinate by this value );
SFXRectangle::AddBottom | SFXRectangle::SubBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivBottom | SFXRectangle::ModBottom | SFXRectangle::NegBottom
[ public ] SFXRectangleRef MulHeight( SInt16 param // multiply the height by this value );
SFXRectangle::AddHeight | SFXRectangle::SubHeight | SFXRectangle::MulBottom | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivHeight | SFXRectangle::ModHeight | SFXRectangle::NegHeight
[ public ] SFXRectangleRef MulLeft( SInt16 param // multiply the X coordinate by this value );
SFXRectangle::AddLeft | SFXRectangle::SubLeft | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivLeft | SFXRectangle::ModLeft | SFXRectangle::NegLeft
[ public ] SFXRectangleRef MulLeftBottom( SInt16 x // multiply X coordinate of left-bottom vertex by this value SInt16 y // multiply Y coordinate of left-bottom vertex by this value );
[ public ] SFXRectangleRef MulLeftBottom( SInt16 param // multiply the coordinates of left-bottom vertex by this value );
SFXRectangle::AddLeftBottom | SFXRectangle::SubLeftBottom | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivLeftBottom | SFXRectangle::ModLeftBottom | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef MulLeftTop( SInt16 x // multiply X coordinate of left-top vertex by this value SInt16 y // multiply Y coordinate of left-top vertex by this value );
[ public ] SFXRectangleRef MulLeftTop( SInt16 param // multiply the coordinates of left-top vertex by this value );
SFXRectangle rect(10, 20, 30, 40); rect.MulLeftTop(2, 2); // multiply the coordinates of left-top vertex by (2, 2) // the width and height will be changed after multiplication, too TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 40, width = 20, height = 20
SFXRectangle::AddLeftTop | SFXRectangle::SubLeftTop | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivLeftTop | SFXRectangle::ModLeftTop | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef MulOrigin( SInt16 x // multiply X coordinate by this value SInt16 y // multiply Y coordinate by this value );
[ public ] SFXRectangleRef MulOrigin( SInt16 param // multiply the coordinates by this value );
SFXRectangle rect(10, 20, 30, 40); rect.MulOrigin(2, 2); // multiply the coordinates of the origin point by (2, 2) // 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 = 40, width = 30, height = 40
SFXRectangle::AddOrigin | SFXRectangle::SubOrigin | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivOrigin | SFXRectangle::ModOrigin | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef MulRight( SInt16 param // multiply X coordinate by this value );
SFXRectangle::AddRight | SFXRectangle::SubRight | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivRight | SFXRectangle::ModRight | SFXRectangle::NegRight
[ public ] SFXRectangleRef MulRightBottom( SInt16 x // multiply the X coordinate of right-bottom vertex by this value SInt16 y // multiply the Y coordinate of right-bottom vertex by this value );
[ public ] SFXRectangleRef MulRightBottom( SInt16 param // multiply the coordinates of right-bottom vertex by this value );
SFXRectangle::AddRightBottom | SFXRectangle::SubRightBottom | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivRightBottom | SFXRectangle::ModRightBottom | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef MulRightTop( SInt16 x // multiply X coordinate of right-top vertex by this value SInt16 y // multiply Y coordinate of right-top vertex by this value );
[ public ] SFXRectangleRef MulRightTop( SInt16 param // multiply the coordinates of right-top vertex by this value );
SFXRectangle::AddRightTop | SFXRectangle::SubRightTop | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivRightTop | SFXRectangle::ModRightTop | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef MulSize( SInt16 width // multiply the width by this value SInt16 height // multiply the height by this value );
[ public ] SFXRectangleRef MulSize( SInt16 param // multiply the coordinates by this value );
SFXRectangle::AddSize | SFXRectangle::DivSize | SFXRectangle::ModSize | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::NegSize | SFXRectangle::SubSize
[ public ] SFXRectangleRef MulTop( SInt16 param // multiply Y coordinate by this value );
SFXRectangle::AddTop | SFXRectangle::SubTop | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivTop | SFXRectangle::ModTop | SFXRectangle::NegTop
[ public ] SFXRectangleRef MulWidth( SInt16 param // multiply the width by this value );
SFXRectangle::AddWidth | SFXRectangle::SubWidth | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulX | SFXRectangle::MulY | SFXRectangle::DivWidth | SFXRectangle::ModWidth | SFXRectangle::NegWidth
[ public ] SFXRectangleRef MulX( SInt16 param // multiply X coordinate by this value );
SFXRectangle::AddX | SFXRectangle::SubX | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulY | SFXRectangle::DivX | SFXRectangle::ModX | SFXRectangle::NegX
[ public ] SFXRectangleRef MulY( SInt16 param // multiply Y coordinate by this value );
SFXRectangle::AddY | SFXRectangle::SubY | SFXRectangle::MulBottom | SFXRectangle::MulHeight | SFXRectangle::MulLeft | SFXRectangle::MulLeftBottom | SFXRectangle::MulLeftTop | SFXRectangle::MulOrigin | SFXRectangle::MulRight | SFXRectangle::MulRightBottom | SFXRectangle::MulRightTop | SFXRectangle::MulSize | SFXRectangle::MulTop | SFXRectangle::MulWidth | SFXRectangle::MulX | SFXRectangle::DivY | SFXRectangle::ModY | SFXRectangle::NegY
[ public ] SFXRectangleRef NegBottom(Void);
SFXRectangle::AddBottom | SFXRectangle::SubBottom | SFXRectangle::MulBottom | SFXRectangle::DivBottom | SFXRectangle::ModBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegHeight(Void);
SFXRectangle::AddHeight | SFXRectangle::SubHeight | SFXRectangle::MulHeight | SFXRectangle::DivHeight | SFXRectangle::ModHeight | SFXRectangle::NegBottom | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegLeft(Void);
SFXRectangle::AddLeft | SFXRectangle::SubLeft | SFXRectangle::MulLeft | SFXRectangle::DivLeft | SFXRectangle::ModLeft | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegLeftBottom(Void);
SFXRectangle::AddLeftBottom | SFXRectangle::SubLeftBottom | SFXRectangle::MulLeftBottom | SFXRectangle::DivLeftBottom | SFXRectangle::ModLeftBottom | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegLeftTop(Void);
SFXRectangle rect(-10, 20, 30, 40); rect.NegLeftTop(); // negate the coordinates of left-top vertex (-10, 20) // according to the negation, the width and the height will be modified, too. TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 10, y = -20, width = 10, height = 80
SFXRectangle::AddLeftTop | SFXRectangle::SubLeftTop | SFXRectangle::MulLeftTop | SFXRectangle::DivLeftTop | SFXRectangle::ModLeftTop | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegOrigin(Void);
SFXRectangle rect(-10, 20, 30, 40); rect.NegOrigin(); // negate the coordinate of the origin from (10, 20) to (-10, -20) // as the origin has been moved, the rectangle whole moves (do not modify the width and height of rectangle) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 10, y = -20, width = 30, height = 40
SFXRectangle::AddOrigin | SFXRectangle::SubOrigin | SFXRectangle::MulOrigin | SFXRectangle::DivOrigin | SFXRectangle::ModOrigin | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegRight(Void);
SFXRectangle::AddRight | SFXRectangle::SubRight | SFXRectangle::MulRight | SFXRectangle::DivRight | SFXRectangle::ModRight | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegRightBottom(Void);
SFXRectangle::AddRightBottom | SFXRectangle::SubRightBottom | SFXRectangle::MulRightBottom | SFXRectangle::DivRightBottom | SFXRectangle::ModRightBottom | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegRightTop(Void);
SFXRectangle::AddRightTop | SFXRectangle::SubRightTop | SFXRectangle::MulRightTop | SFXRectangle::DivRightTop | SFXRectangle::ModRightTop | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef (Void);
SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegTop(Void);
SFXRectangle::AddTop | SFXRectangle::SubTop | SFXRectangle::MulTop | SFXRectangle::DivTop | SFXRectangle::ModTop | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegWidth | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegWidth(Void);
SFXRectangle::AddWidth | SFXRectangle::SubWidth | SFXRectangle::MulWidth | SFXRectangle::DivWidth | SFXRectangle::ModWidth | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegX | SFXRectangle::NegY
[ public ] SFXRectangleRef NegX(Void);
SFXRectangle::AddX | SFXRectangle::SubX | SFXRectangle::MulX | SFXRectangle::DivX | SFXRectangle::ModX | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegY
[ public ] SFXRectangleRef NegY(Void);
SFXRectangle::AddY | SFXRectangle::SubY | SFXRectangle::MulY | SFXRectangle::DivY | SFXRectangle::ModY | SFXRectangle::NegBottom | SFXRectangle::NegHeight | SFXRectangle::NegLeft | SFXRectangle::NegLeftBottom | SFXRectangle::NegLeftTop | SFXRectangle::NegOrigin | SFXRectangle::NegRight | SFXRectangle::NegRightBottom | SFXRectangle::NegRightTop | SFXRectangle::NegSize | SFXRectangle::NegTop | SFXRectangle::NegWidth | SFXRectangle::NegX
[ public ] SFXRectangleRef Normalize(Void);
If width and height are positive, do nothing.
If width or the height is negative, negate its sign. The type is not changed.
SFXRectangle rect(10, 20, -30, 40); if(rect.IsEmpty()){ // check whether the rect is empty // this function returns true since width value is less than 0 rect.Normalize(); // normalize the rect } TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 10, y = 20, width = 30, height = 40
[ public ] SFXRectangleRef Offset( SFXGridConstRef param // value to add to the coordinates of the origin point(left-top vertex) );
[ public ] SFXRectangleRef Offset( SInt16 x // value to add to the X coordinate of the origin point(left-top vertex) SInt16 y // value to add to the Y coordinate of the origin point(left-top vertex) );
SFXRectangle rect(10, 20, 30, 40); // add to the coordinates of the origin point (left-top vertex) and move this rectangle rect.Offset(100, 50); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 110, y = 70, width = 30, height = 40
[ public ] SFXRectangleRef Set( SFXRectangleConstRef param // source rectangle );
[ public ] SFXRectangleRef Set( SFXGridConstRef origin // coordinates of left-top vertex SFXSizeConstRef size // width and height );
[ public ] SFXRectangleRef Set( SFXGridConstRef origin // coordinates of left-top vertex SInt16 width // width SInt16 height // height );
[ public ] SFXRectangleRef Set( SInt16 x // X coordinate of left-top vertex SInt16 y // Y coordinate of left-top vertex SFXSizeConstRef size // width and height );
[ public ] SFXRectangleRef Set( SInt16 x // X coordinate of left-top vertex SInt16 y // Y coordinate of left-top vertex SInt16 width // width SInt16 height // height );
[ public ] SFXRectangleRef Set( SFXPixelConstRef start // coordinates of left-top vertex SFXPixelConstRef end // coordinates of right-bottom vertex );
[ public ] SFXRectangleRef SetBottom( SInt16 param // Y coordinate of buttom edge to set );
SFXRectangle::GetBottom | SFXRectangle::SetTop | SFXRectangle::SetLeft | SFXRectangle::SetRight | SFXRectangle::SetLeftTop | SFXRectangle::SetRightTop | SFXRectangle::SetLeftBottom | SFXRectangle::SetRightBottom
[ public ] SFXRectangleRef SetHeight( SInt16 param // height to set );
SFXRectangle::GetHeight | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetLeft( SInt16 param // X coordinate of left edge to set );
SFXRectangle::GetLeft | SFXRectangle::SetTop | SFXRectangle::SetBottom | SFXRectangle::SetRight | SFXRectangle::SetLeftTop | SFXRectangle::SetRightTop | SFXRectangle::SetLeftBottom | SFXRectangle::SetRightBottom
[ public ] SFXRectangleRef SetLeftBottom( SFXGridConstRef param // coordinates of left-bottom vertex to set );
[ public ] SFXRectangleRef SetLeftBottom( SInt16 x // X coordinate of left-bottom vertex to set SInt16 y // Y coordinate of left-bottom vertex to set );
The coordinates of right-top vertex are not changed.
SFXRectangle::GetLeftBottom | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetLeftTop( SFXGridConstRef param // coordinates of left-top vertex to set );
[ public ] SFXRectangleRef SetLeftTop( SInt16 x // X coordinate of left-top vertex to set SInt16 y // Y coordinate of left-top vertex to set );
The coordinates of right-bottom vertex are not changed.
SFXRectangle rect(10, 20, 30, 40); rect.SetLeftTop(20,10); // set (20,10) to coordinates of left-top vertex // width and height are also changed TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 10, width = 20, height = 50
SFXRectangle::GetLeftTop | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetOrigin( SFXGridConstRef param coordinates of left-top vertex to set );
[ public ] SFXRectangleRef SetOrigin( SInt16 x // X coordinate of left-top vertex to set SInt16 y // Y coordinate of left-top vertex to set );
SFXRectangle rect(10, 20, 30, 40); rect.SetOrigin(20,10); // set the coordinate of the origin to (20, 10) // as the origin has been moved, the rectangle whole moves (do not modify the width and height of rectangle) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 10, width = 30, height = 40
SFXRectangle::GetOrigin | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetRight( SInt16 param // X coordinate of right edge to set );
SFXRectangle::GetRight | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetRightBottom( SFXGridConstRef param // coordinates of right-bottom vertex to set );
[ public ] SFXRectangleRef SetRightBottom( SInt16 x // X coordinate of right-bottom vertex to set SInt16 y // Y coordinate of right-bottom vertex to set );
The coordinates of left-top vertex are not changed.
SFXRectangle::GetRightBottom | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetRightTop( SFXGridConstRef param // coordinates of right-top vertex to set );
[ public ] SFXRectangleRef SetRightTop( SInt16 x // X coordinate of right-top vertex to set SInt16 y // Y coordinate of right-top vertex to set );
The coordinates of left-bottom vertex are not changed.
SFXRectangle::GetRightTop | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetSize( SFXSizeConstRef param // size to set );
[ public ] SFXRectangleRef SetSize( SInt16 width // width to set SInt16 height // height to set );
SFXRectangle::GetSize | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetTop( SInt16 param // Y coordinate of top edge to set );
SFXRectangle::GetTop | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetVertexLeftBottom( SFXPixelConstRef param // coordinates of right-bottom vertex to set );
[ public ] SFXRectangleRef SetVertexLeftBottom( SInt16 x // X coordinate of right-bottom vertex to set SInt16 y // Y coordinate of right-bottom vertex to set );
The coordinates of right-top vertex are not changed.
SFXRectangle::GetVertexLeftBottom | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetVertexLeftTop( SFXPixelConstRef param // coordinates of left-top vertex to set );
[ public ] SFXRectangleRef SetVertexLeftTop( SInt16 x // X coordinate of left-top vertex to set SInt16 y // Y coordinate of left-top vertex to set );
The coordinates of right-bottom vertex are not changed.
SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetVertexRightBottom( SFXPixelConstRef param // coordinates of right-bottom vertex to set );
[ public ] SFXRectangleRef SetVertexRightBottom( SInt16 x // X coordinate of right-bottom vertex to set SInt16 y // Y coordinate of right-bottom vertex to set );
The coordinates of left-top vertex are not changed.
SFXRectangle::GetVertexRightBottom | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetVertexRightTop( SFXPixelConstRef param // coordinates of right-top vertex to set );
[ public ] SFXRectangleRef SetVertexRightTop( SInt16 x // X coordinate of right-top vertex to set SInt16 y // Y coordinate of right-top vertex to set );
The coordinates of left-bottom vertex are not changed.
SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetWidth | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetWidth( SInt16 param // width to set );
SFXRectangle::GetWidth | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetX | SFXRectangle::SetY
[ public ] SFXRectangleRef SetX( SInt16 param // X coordinate of left-top vertex to set );
SFXRectangle::GetX | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetSize | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetY
[ public ] SFXRectangleRef SetY( SInt16 param // Y coordinate of left-top vertex to set );
SFXRectangle::GetY | SFXRectangle::Set | SFXRectangle::SetBottom | SFXRectangle::SetHeight | SFXRectangle::SetLeft | SFXRectangle::SetLeftBottom | SFXRectangle::SetLeftTop | SFXRectangle::SetOrigin | SFXRectangle::SetRight | SFXRectangle::SetRightBottom | SFXRectangle::SetRightTop | SFXRectangle::SetTop | SFXRectangle::SetVertexLeftBottom | SFXRectangle::SetVertexLeftTop | SFXRectangle::SetVertexRightBottom | SFXRectangle::SetVertexRightTop | SFXRectangle::SetWidth | SFXRectangle::SetX
[ public ] SFXRectangleRef SnapBottom( SInt16 param // value );
SFXRectangle rect(10, 20, 30, 40); // set the Y coordinate of the bottom edge to 100 . rect.SnapBottom(100); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 10, y = 60, width = 30, height = 40
SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapCenter( SInt16 param // X coordinate of center of rectangle );
[ public ] SFXRectangleRef SnapCenterBottom( SFXGridConstRef param // center of bottom edge );
[ public ] SFXRectangleRef SnapCenterBottom( SInt16 x // X coordinate of center of bottom edge SInt16 y // Y coordinate of center of bottom edge );
[ public ] SFXRectangleRef SnapCenterMiddle( SFXGridConstRef param // center of rectangle );
[ public ] SFXRectangleRef SnapCenterMiddle( SInt16 x // X coordinate of center of rectangle SInt16 y // Y coordinate of center of rectangle );
[ public ] SFXRectangleRef SnapCenterTop( SFXGridConstRef param // center of top edge );
[ public ] SFXRectangleRef SnapCenterTop( SInt16 x // X coordinate of center of top edge SInt16 y // Y coordinate coordinate of center of top edge );
[ public ] SFXRectangleRef SnapLeft( SInt16 param // value to set );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapLeftBottom( SFXGridConstRef param // value to set );
[ public ] SFXRectangleRef SnapLeftBottom( SInt16 x // X coordinate value SInt16 y // Y coordinate value );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapLeftMiddle( SFXGridConstRef param // center of left edge );
[ public ] SFXRectangleRef SnapLeftMiddle( SInt16 x // X coordinate of center of left edge SInt16 y // Y coordinate of center of left edge );
[ public ] SFXRectangleRef SnapLeftTop( SFXGridConstRef param // coordinates of left-top vertex );
[ public ] SFXRectangleRef SnapLeftTop( SInt16 x // X coordinate of left-top vertex SInt16 y // Y coordinate of left-top vertex );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapMiddle( SInt16 param // Y coordinate of center of rectangle );
[ public ] SFXRectangleRef SnapRight( SInt16 param // value to set );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapRightBottom( SFXGridConstRef param // coordinates of right-bottom vertex );
[ public ] SFXRectangleRef SnapRightBottom( SInt16 x // X coordinate value SInt16 y // Y coordinate value );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightTop | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapRightMiddle( SFXGridConstRef param // center of right edge );
[ public ] SFXRectangleRef SnapRightMiddle( SInt16 x // X coordinate of center of right edge SInt16 y // Y coordinate of center of right edge );
[ public ] SFXRectangleRef SnapRightTop( SFXGridConstRef param // value );
[ public ] SFXRectangleRef SnapRightTop( SInt16 x // X coordinate value SInt16 y // Y coordinate value );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapTop
[ public ] SFXRectangleRef SnapTop( SInt16 param // value );
SFXRectangle::SnapBottom | SFXRectangle::SnapLeft | SFXRectangle::SnapLeftBottom | SFXRectangle::SnapLeftTop | SFXRectangle::SnapRight | SFXRectangle::SnapRightBottom | SFXRectangle::SnapRightTop
[ public ] SFXRectangleRef SubBottom( SInt16 param // value to subtract );
SFXRectangle::AddBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulBottom | SFXRectangle::DivBottom | SFXRectangle::ModBottom | SFXRectangle::NegBottom
[ public ] SFXRectangleRef SubHeight( SInt16 param // value to subtract );
SFXRectangle::AddHeight | SFXRectangle::SubBottom | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulHeight | SFXRectangle::DivHeight | SFXRectangle::ModHeight | SFXRectangle::NegHeight
[ public ] SFXRectangleRef SubLeft( SInt16 param // value to subtract );
SFXRectangle::AddLeft | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulLeft | SFXRectangle::DivLeft | SFXRectangle::ModLeft | SFXRectangle::NegLeft
[ public ] SFXRectangleRef SubLeftBottom( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef SubLeftBottom( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle::AddLeftBottom | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulLeftBottom | SFXRectangle::DivLeftBottom | SFXRectangle::ModLeftBottom | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef SubLeftTop( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef SubLeftTop( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle rect(10, 20, 30, 40); rect.SubLeftTop(10, 10); // subtract the coordinate of left-top vertex from (10, 20) with (10, 10) // following the Subtract the specified value fromed value, the width and height will be modified ,too TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 0, y = 10, width = 40, height = 50
SFXRectangle::AddLeftTop | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulLeftTop | SFXRectangle::DivLeftTop | SFXRectangle::ModLeftTop | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef SubOrigin( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef SubOrigin( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle rect(10, 20, 30, 40); rect.SubOrigin(10, 10); // divide the coordinate of the origin from (10, 20) with (10, 10) // as the origin has been moved, the rectangle whole moves (do not modify the width and height of rectangle) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 0, y = 10, width = 30, height = 40
SFXRectangle::AddOrigin | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulOrigin | SFXRectangle::DivOrigin | SFXRectangle::ModOrigin | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef SubRight( SInt16 param // value to subtract );
SFXRectangle::AddRight | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulRight | SFXRectangle::DivRight | SFXRectangle::ModRight | SFXRectangle::NegRight
[ public ] SFXRectangleRef SubRightBottom( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef SubRightBottom( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle::AddRightBottom | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulRightBottom | SFXRectangle::DivRightBottom | SFXRectangle::ModRightBottom | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef SubRightTop( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef SubRightTop( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle::AddRightTop | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulRightTop | SFXRectangle::DivRightTop | SFXRectangle::ModRightTop | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef SubSize( SFXSizeConstRef param // value to subtract );
[ public ] SFXRectangleRef SubSize( SInt16 width // value to subtract from the width SInt16 height // value to subtract from the height );
SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::AddSize | SFXRectangle::DivSize | SFXRectangle::ModSize | SFXRectangle::MulSize | SFXRectangle::NegSize
[ public ] SFXRectangleRef SubTop( SInt16 param // value to subtract );
SFXRectangle::AddTop | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulTop | SFXRectangle::DivTop | SFXRectangle::ModTop | SFXRectangle::NegTop
[ public ] SFXRectangleRef SubWidth( SInt16 param // value to subtract );
SFXRectangle::AddWidth | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulWidth | SFXRectangle::DivWidth | SFXRectangle::ModWidth | SFXRectangle::NegWidth
[ public ] SFXRectangleRef SubX( SInt16 param // value to subtract );
SFXRectangle::AddX | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubY | SFXRectangle::MulX | SFXRectangle::DivX | SFXRectangle::ModX | SFXRectangle::NegX
[ public ] SFXRectangleRef SubY( SInt16 param // value to subtract );
SFXRectangle::AddY | SFXRectangle::SubBottom | SFXRectangle::SubHeight | SFXRectangle::SubLeft | SFXRectangle::SubLeftBottom | SFXRectangle::SubLeftTop | SFXRectangle::SubOrigin | SFXRectangle::SubRight | SFXRectangle::SubRightBottom | SFXRectangle::SubRightTop | SFXRectangle::SubSize | SFXRectangle::SubTop | SFXRectangle::SubWidth | SFXRectangle::SubX | SFXRectangle::SubY | SFXRectangle::MulY | SFXRectangle::DivY | SFXRectangle::ModY | SFXRectangle::NegY
[ public, const ] Bool UnifiesWith( SFXRectangleConstRef param // rectangle );
[ public ] SFXRectangleRef Union( SFXRectangleConstRef param // rectangle );
Get the rectangle formed by the most left-top and the most right-bottom coordinates of the two rectangles.
SFXRectangle rect1(10, 20, 30, 40); SFXRectangle rect2(50, 60, 70, 80); rect1 = rect1.Union(rect2); // get rectangle that is union of rect1 and rect2. TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 10, y = 20, width = 1100, height = 120
[ public ] SFXRectangleRef Unoffset( SFXGridConstRef param // value to subtract );
[ public ] SFXRectangleRef Unoffset( SInt16 x // value to subtract from the X coordinate SInt16 y // value to subtract from the Y coordinate );
SFXRectangle rect(10, 20, 30, 40); // subtract the coordinates of origin point (left-top vertex) and move this rectangle rect.Unoffset(10,20); TRACE("x = %d, y = %d, width = %d, height = %d", rect1.GetX(), rect1.GetY(), rect1.GetWidth(), rect1.GetHeight()); // x = 0, y = 0, width = 30, height = 40
[ public, static ] SFXRectangleConstRef ZeroInstance(Void);
This function returns the 0 instance, which means that 0 or null is set to all the member variables of its corresponding AtomRec struct.
SFXRectangle rect(10, 20, 30, 40); rect = SFXRectangle::ZeroInstance(); // intialize rect TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 0, y = 0, width = 0, height = 0
[ public, friend ] SFXRectangle::AtomRec * atomic_cast( SFXRectangle * param // rectangle to cast );
[ public, friend ] SFXRectangle::AtomRec const * atomic_cast( SFXRectangle const * param // rectangle to cast );
[ public, friend ] AEERect * interface_cast( SFXRectangle * param // rectangle ro cast );
[ public, friend ] AEERect const * interface_cast( SFXRectangle const * param // rectangle ro cast );
[ public ] SFXRectangleRef operator &=( SFXRectangleConstRef param // rectangle );
If there is no intersection, return a rectangle with invalid size.
[ public, friend ] SFXRectangle operator &( SFXRectangleConstRef left // rectangle SFXRectangleConstRef right // rectangle );
If there is no intersection, return the rectangle with an invalid size.
[ public ] SFXRectangleRef operator=( SFXRectangleConstRef param // source rectangle );
[ public, friend ] Bool operator==( SFXRectangleConstRef left // rectangle to compare SFXRectangleConstRef right // rectangle to compare );
[ public ] SFXRectangleRef operator-=( SFXGridConstRef param // value to subtract );
SFXRectangle::Unoffset | operator- | SFXRectangle::operator+=
[ public, friend ] SFXRectangle operator-( SFXRectangleConstRef left // rectangle to move SFXGridConstRef right // value to subtract );
SFXRectangle::Unoffset | SFXRectangle::operator-= | operator+
[ public, friend ] Bool operator!=( SFXRectangleConstRef left // rectangle to compare SFXRectangleConstRef right // rectangle to compare );
[ public ] SFXRectangleRef operator|=( SFXRectangleConstRef param // rectangle );
Get the coordinates of the most left-top and most right-bottom of the two rectangles, set the rectangle.
[ public, friend ] SFXRectangle operator|( SFXRectangleConstRef left // rectangle SFXRectangleConstRef right // rectangle );
Get the rectangle formed by most left-top and most right-bottom coordinates of the two rectangles.
[ public ] SFXRectangleRef operator+=( SFXGridConstRef param // value to add );
[ public, friend ] SFXRectangle operator+( SFXRectangleConstRef left // rectangle to move SFXGridConstRef right // value to add );
struct AtomRec { SFXGrid::AtomRec origin ; // coordinates of left-top vertex SFXSize::AtomRec size; // width and height };
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |