SophiaFramework UNIVERSE 5.3 |
Constructor/Destructor |
---|
SFXPie( Void ) Constructor of the SFXPie class.
|
SFXPie(
SFXPieConstRef param
) Constructor of the SFXPie class.
|
SFXPie(
SFXCircleConstRef circle
, SInt16 start
, SInt16 arc
) Constructor of the SFXPie class.
|
SFXPie(
SFXPixelConstRef origin
, SInt16 radius
, SInt16 start
, SInt16 arc
) Constructor of the SFXPie class.
|
SFXPie(
SInt16 x
, SInt16 y
, SInt16 radius
, SInt16 start
, SInt16 arc
) Constructor of the SFXPie class.
|
SFXPie(
SFXCircleConstRef circle
) Constructor of the SFXPie class.
|
SFXPie(
SFXArcConstRef arc
) Constructor of the SFXPie class.
|
Public Functions | |
---|---|
SFXPieRef |
AddArc(
SInt16 param
) Add the specified value to the extent angle.
|
SFXPieRef |
AddOrigin(
SFXPixelConstRef param
) Add the specified value to the coordinates of the center.
|
SFXPieRef |
AddOrigin(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of the center.
|
SFXPieRef |
AddRadius(
SInt16 param
) Add the specified value to the radius.
|
SFXPieRef |
AddStart(
SInt16 param
) Add the specified value to the beginning angle.
|
SFXPieRef |
AddX(
SInt16 param
) Add the specified value to the X coordinate of the center.
|
SFXPieRef |
AddY(
SInt16 param
) Add the specified value to the Y coordinate of the center.
|
SFXPieRef |
DivArc(
SInt16 param
) Divide the extent angle by the specified value.
|
SFXPieRef |
DivOrigin(
SInt16 x
, SInt16 y
) Divide the coordinates of the center by the specified value.
|
SFXPieRef |
DivOrigin(
SInt16 param
) Divide the coordinates of the center by the specified value.
|
SFXPieRef |
DivRadius(
SInt16 param
) Divide the radius by the specified value.
|
SFXPieRef |
DivStart(
SInt16 param
) Divide the beginning angle by the specified value.
|
SFXPieRef |
DivX(
SInt16 param
) Divide the X coordinate of the center by the specified value.
|
SFXPieRef |
DivY(
SInt16 param
) Divide Y coordinate of the center by the specified value.
|
static SFXPieConstRef |
EmptyInstance( Void ) Get an empty pie.
|
Bool |
Equals(
SFXPieConstRef param
) Check whether this pie equals the specified pie or not.
|
Bool |
Equals(
SFXCircleConstRef circle
, SInt16 start
, SInt16 arc
) Check whether this pie equals the specified pie or not.
|
Bool |
Equals(
SFXPixelConstRef origin
, SInt16 radius
, SInt16 start
, SInt16 arc
) Check whether this pie equals the specified pie or not.
|
Bool |
Equals(
SInt16 x
, SInt16 y
, SInt16 radius
, SInt16 start
, SInt16 arc
) Check whether this pie equals the specified pie or not.
|
SInt16 |
GetArc( Void ) Get the extent angle.
|
SFXPixelConstRef |
GetOrigin( Void ) Get the coordinates of the center.
|
SInt16 |
GetRadius( Void ) Get the radius.
|
SInt16 |
GetStart( Void ) Get the beginning angle.
|
SInt16 |
GetX( Void ) Get the X coordinate of the center.
|
SInt16 |
GetY( Void ) Get the Y coordinate of the center.
|
Bool |
IsEmpty( Void ) Check whether this pie is empty or not.
|
SFXPieRef |
ModArc(
SInt16 param
) Set the extent angle to the remainder of the division of this extent angle by the specified value.
|
SFXPieRef |
ModOrigin(
SInt16 x
, SInt16 y
) Set the coordinates of the center to the remainder of the division of this coordinates by the specified value.
|
SFXPieRef |
ModOrigin(
SInt16 param
) Set the coordinates of the center to the remainder of the division of this coordinates by the specified value.
|
SFXPieRef |
ModRadius(
SInt16 param
) Set the radius to the remainder of the division of this radius by the specified value.
|
SFXPieRef |
ModStart(
SInt16 param
) Set the beginning angle to the remainder of the division of the beginning angle by the specified value.
|
SFXPieRef |
ModX(
SInt16 param
) Set the X coordinate of the center to the remainder of the division of this X coordinate by the specified value.
|
SFXPieRef |
ModY(
SInt16 param
) Set the Y coordinate of the center to the remainder of the division of this Y coordinate by the specified value.
|
SFXPieRef |
MulArc(
SInt16 param
) Multiply the extent angle by the specified value.
|
SFXPieRef |
MulOrigin(
SInt16 x
, SInt16 y
) Multiply the coordinates of the center by the specified value.
|
SFXPieRef |
MulOrigin(
SInt16 param
) Multiply the coordinates of the center by the specified value.
|
SFXPieRef |
MulRadius(
SInt16 param
) Multiply the radius by the specified value.
|
SFXPieRef |
MulStart(
SInt16 param
) Multiply the beginning angle by the specified value.
|
SFXPieRef |
MulX(
SInt16 param
) Multiply the X coordinate of the center by the specified value.
|
SFXPieRef |
MulY(
SInt16 param
) Multiply the Y coordinate of the center by the specified value.
|
SFXPieRef |
NegArc( Void ) Negate the sign of the extent angle.
|
SFXPieRef |
NegOrigin( Void ) Negate the sign of the coordinates of the center.
|
SFXPieRef |
NegRadius( Void ) Negate the sign of the radius.
|
SFXPieRef |
NegStart( Void ) Negate the sign of the beginning angle.
|
SFXPieRef |
NegX( Void ) Negate the sign of the X coordinate of the center.
|
SFXPieRef |
NegY( Void ) Negate the sign of the Y coordinate of the center.
|
SFXPieRef |
Normalize( Void ) Normalize the pie.
|
SFXPieRef |
Offset(
SFXGridConstRef param
) Add the specified value to the coordinates of the center and move this pie.
|
SFXPieRef |
Offset(
SInt16 x
, SInt16 y
) Add the specified value to the coordinates of the center and move this pie.
|
SFXPieRef |
Set(
SFXPieConstRef param
) Set the pie.
|
SFXPieRef |
Set(
SFXCircleConstRef circle
, SInt16 start
, SInt16 arc
) Set the pie.
|
SFXPieRef |
Set(
SFXPixelConstRef origin
, SInt16 radius
, SInt16 start
, SInt16 arc
) Set the pie.
|
SFXPieRef |
Set(
SInt16 x
, SInt16 y
, SInt16 radius
, SInt16 start
, SInt16 arc
) Set the pie.
|
SFXPieRef |
Set(
SFXCircleConstRef circle
) Set the pie.
|
SFXPieRef |
Set(
SFXArcConstRef arc
) Set the pie.
|
SFXPieRef |
SetArc(
SInt16 param
) Set the extent angle.
|
SFXPieRef |
SetOrigin(
SFXPixelConstRef param
) Set the coordinates of the center.
|
SFXPieRef |
SetOrigin(
SInt16 x
, SInt16 y
) Set the coordinates of the center.
|
SFXPieRef |
SetRadius(
SInt16 param
) Set the radius.
|
SFXPieRef |
SetStart(
SInt16 param
) Set the beginning angle.
|
SFXPieRef |
SetX(
SInt16 param
) Set the X coordinate of the center.
|
SFXPieRef |
SetY(
SInt16 param
) Set the Y coordinate of the center.
|
SFXPieRef |
SubArc(
SInt16 param
) Subtract the specified value from the extent angle.
|
SFXPieRef |
SubOrigin(
SFXPixelConstRef param
) Subtract the specified value from the coordinates of the center.
|
SFXPieRef |
SubOrigin(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of the center.
|
SFXPieRef |
SubRadius(
SInt16 param
) Subtract the specified value from the radius.
|
SFXPieRef |
SubStart(
SInt16 param
) Subtract the specified value from the beginning angle.
|
SFXPieRef |
SubX(
SInt16 param
) Subtract the specified value from the X coordinate of the center.
|
SFXPieRef |
SubY(
SInt16 param
) Subtract the specified value from the Y coordinate of the center.
|
SFXPieRef |
Unoffset(
SFXGridConstRef param
) Subtract the specified value from the coordinates of the center and move this pie.
|
SFXPieRef |
Unoffset(
SInt16 x
, SInt16 y
) Subtract the specified value from the coordinates of the center and move this pie.
|
static SFXPieConstRef |
ZeroInstance( Void ) Get the instance that represents 0.
|
SFXPieRef |
operator+=(
SFXGridConstRef param
) Add the specified value to the coordinates of the center and move this pie.
|
SFXPieRef |
operator-=(
SFXGridConstRef param
) Subtract the specified value from the coordinates of the center and move this pie.
|
SFXPieRef |
operator=(
SFXPieConstRef param
) Assign a pie.
|
SFXPie::AtomRec * |
atomic_cast(
SFXPie * param
) Convert SFXPie into SFXPie::AtomRec.
|
SFXPie::AtomRec const * |
atomic_cast(
SFXPie const * param
) Convert SFXPie into SFXPie::AtomRec.
|
AEEPie * |
interface_cast(
SFXPie * param
) Convert SFXPie into AEEPie.
|
AEEPie const * |
interface_cast(
SFXPie const * param
) Convert SFXPie into AEEPie.
|
Bool |
operator==(
SFXPieConstRef left
, SFXPieConstRef right
) Check the "==" relation.
|
SFXPie |
operator-(
SFXPieConstRef left
, SFXGridConstRef right
) Subtract the specified value from the coordinates of the center of a pie and move this pie.
|
Bool |
operator!=(
SFXPieConstRef left
, SFXPieConstRef right
) Check the "!=" relation.
|
SFXPie |
operator+(
SFXPieConstRef left
, SFXGridConstRef right
) Add the specified value to the coordinates of the center of a pie and move this pie.
|
Types |
---|
AtomRec
Structure that represents a pie.
|
Global Functions | |
---|---|
SFXPie::AtomRec * |
atomic_cast(
SFXPie * param
) Convert SFXPie into SFXPie::AtomRec.
|
SFXPie::AtomRec const * |
atomic_cast(
SFXPie const * param
) Convert SFXPie into SFXPie::AtomRec.
|
AEEPie * |
interface_cast(
SFXPie * param
) Convert SFXPie into AEEPie.
|
AEEPie const * |
interface_cast(
SFXPie const * param
) Convert SFXPie into AEEPie.
|
Bool |
operator==(
SFXPieConstRef left
, SFXPieConstRef right
) Check the "==" relation.
|
SFXPie |
operator-(
SFXPieConstRef left
, SFXGridConstRef right
) Subtract the specified value from the coordinates of the center of a pie and move this pie.
|
Bool |
operator!=(
SFXPieConstRef left
, SFXPieConstRef right
) Check the "!=" relation.
|
SFXPie |
operator+(
SFXPieConstRef left
, SFXGridConstRef right
) Add the specified value to the coordinates of the center of a pie and move this pie.
|
[ public, explicit ] SFXPie(Void);
[ public ] SFXPie( SFXPieConstRef param // source pie );
[ public, explicit ] SFXPie( SFXCircleConstRef circle // source circle SInt16 start // beginning angle SInt16 arc // extent angle );
[ public, explicit ] SFXPie( SFXPixelConstRef origin // coordinates of center SInt16 radius // radius SInt16 start // beginning angle SInt16 arc // extent angle );
[ public, explicit ] SFXPie( SInt16 x // X coordinate of center SInt16 y // Y coordinate of center SInt16 radius // radius SInt16 start // beginning angle SInt16 arc // extent angle );
[ public, explicit ] SFXPie( SFXCircleConstRef circle // source circle );
[ public, explicit ] SFXPie( SFXArcConstRef arc // source arc );
If the argument is set by SFXCircle class, the beginning angle will be 0 degree, and the extent angle will be 360 degrees.
SFXPie::AddOrigin | SFXPie::AddRadius | SFXPie::AddStart | SFXPie::AddX | SFXPie::AddY | SFXPie::SubArc | SFXPie::MulArc | SFXPie::DivArc | SFXPie::ModArc | SFXPie::NegArc
[ public ] SFXPieRef AddOrigin( SFXPixelConstRef param // value to add to the coordinates of the center );
[ public ] SFXPieRef AddOrigin( SInt16 x // value to add to the X coordinate of the center SInt16 y // value to add to the Y coordinate of the center );
SFXPie::AddArc | SFXPie::AddX | SFXPie::AddY | SFXPie::AddRadius | SFXPie::AddStart | SFXPie::SubOrigin | SFXPie::MulOrigin | SFXPie::DivOrigin | SFXPie::ModOrigin | SFXPie::NegOrigin
SFXPie::AddArc | SFXPie::AddX | SFXPie::AddY | SFXPie::AddOrigin | SFXPie::AddStart | SFXPie::SubRadius | SFXPie::MulRadius | SFXPie::DivRadius | SFXPie::ModRadius | SFXPie::NegRadius
SFXPie::AddArc | SFXPie::AddOrigin | SFXPie::AddRadius | SFXPie::AddX | SFXPie::AddY | SFXPie::SubStart | SFXPie::MulStart | SFXPie::DivStart | SFXPie::ModStart | SFXPie::NegStart
SFXPie::AddArc | SFXPie::AddY | SFXPie::AddOrigin | SFXPie::AddRadius | SFXPie::AddStart | SFXPie::SubX | SFXPie::MulX | SFXPie::DivX | SFXPie::ModX | SFXPie::NegX
SFXPie::AddArc | SFXPie::AddX | SFXPie::AddOrigin | SFXPie::AddRadius | SFXPie::AddStart | SFXPie::SubY | SFXPie::MulY | SFXPie::DivY | SFXPie::ModY | SFXPie::NegY
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddArc | SFXPie::SubArc | SFXPie::MulArc | SFXPie::ModOrigin | SFXPie::ModStart | SFXPie::ModX | SFXPie::ModY | SFXPie::ModArc | SFXPie::NegArc
[ public ] SFXPieRef DivOrigin( SInt16 x // divide X coordinate by this value SInt16 y // divide Y coordinate by this value );
[ public ] SFXPieRef DivOrigin( SInt16 param // divide the coordinates by this value );
The behaviour is not defined when the value of x, y, or param argument is 0.
SFXPie::AddOrigin | SFXPie::SubOrigin | SFXPie::MulOrigin | SFXPie::DivArc | SFXPie::DivX | SFXPie::DivY | SFXPie::DivRadius | SFXPie::DivStart | SFXPie::ModOrigin | SFXPie::NegOrigin
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddRadius | SFXPie::SubRadius | SFXPie::MulRadius | SFXPie::DivArc | SFXPie::DivX | SFXPie::DivY | SFXPie::DivOrigin | SFXPie::DivStart | SFXPie::ModRadius | SFXPie::NegRadius
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddStart | SFXPie::SubStart | SFXPie::MulStart | SFXPie::DivArc | SFXPie::DivOrigin | SFXPie::DivRadius | SFXPie::DivX | SFXPie::DivY | SFXPie::ModStart | SFXPie::NegStart
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddX | SFXPie::SubX | SFXPie::MulX | SFXPie::DivArc | SFXPie::DivY | SFXPie::DivOrigin | SFXPie::DivRadius | SFXPie::DivStart | SFXPie::ModX | SFXPie::NegX
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddY | SFXPie::SubY | SFXPie::MulY | SFXPie::DivArc | SFXPie::DivX | SFXPie::DivOrigin | SFXPie::DivRadius | SFXPie::DivStart | SFXPie::ModY | SFXPie::NegY
[ public, static ] SFXPieConstRef EmptyInstance(Void);
Return an empty SFXPie 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( SFXPieConstRef param // pie to compare );
[ public, const ] Bool Equals( SFXCircleConstRef circle // circle to compare SInt16 start // beginning angle SInt16 arc // extent angle );
[ public, const ] Bool Equals( SFXPixelConstRef origin // coordinates of center of the pie to compare SInt16 radius // radius of the pie to compare SInt16 start // beginning angle of the pie to compare SInt16 arc // extent angle of the pie to compare );
[ public, const ] Bool Equals( SInt16 x // X coordinate of center of the pie to compare SInt16 y // Y coordinate of center of the pie to compare SInt16 radius // radius of the pie to compare SInt16 start // beginning angle of the pie to compare SInt16 arc // extent angle of the pie to compare );
[ public, const ] SInt16 GetArc(Void);
SFXPie::GetOrigin | SFXPie::GetRadius | SFXPie::GetStart | SFXPie::GetX | SFXPie::GetY | SFXPie::SetArc
[ public, const ] SFXPixelConstRef GetOrigin(Void);
SFXPie::GetArc | SFXPie::GetX | SFXPie::GetY | SFXPie::GetRadius | SFXPie::GetStart | SFXPie::SetOrigin
[ public, const ] SInt16 GetRadius(Void);
SFXPie::GetArc | SFXPie::GetX | SFXPie::GetY | SFXPie::GetOrigin | SFXPie::GetStart | SFXPie::SetRadius
[ public, const ] SInt16 GetStart(Void);
SFXPie::GetArc | SFXPie::GetOrigin | SFXPie::GetRadius | SFXPie::GetX | SFXPie::GetY | SFXPie::SetStart
[ public, const ] SInt16 GetX(Void);
SFXPie::GetArc | SFXPie::GetY | SFXPie::GetOrigin | SFXPie::GetRadius | SFXPie::SetX
[ public, const ] SInt16 GetY(Void);
SFXPie::GetArc | SFXPie::GetX | SFXPie::GetOrigin | SFXPie::GetRadius | SFXPie::SetY
[ public, const ] Bool IsEmpty(Void);
The pie is empty if the radius is equal to or less than 0, or the extent angle is 0.
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddArc | SFXPie::SubArc | SFXPie::MulArc | SFXPie::DivArc | SFXPie::ModOrigin | SFXPie::ModRadius | SFXPie::ModStart | SFXPie::ModX | SFXPie::ModY | SFXPie::NegArc
[ public ] SFXPieRef ModOrigin( SInt16 x // divide the X coordinate by this value SInt16 y // divide the Y coordinate by this value );
[ public ] SFXPieRef 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.
SFXPie::AddOrigin | SFXPie::SubOrigin | SFXPie::MulOrigin | SFXPie::DivOrigin | SFXPie::ModArc | SFXPie::ModX | SFXPie::ModY | SFXPie::ModRadius | SFXPie::ModStart | SFXPie::NegOrigin
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddRadius | SFXPie::SubRadius | SFXPie::MulRadius | SFXPie::DivRadius | SFXPie::ModArc | SFXPie::ModX | SFXPie::ModY | SFXPie::ModOrigin | SFXPie::ModStart | SFXPie::NegRadius
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddStart | SFXPie::SubStart | SFXPie::MulStart | SFXPie::DivStart | SFXPie::ModArc | SFXPie::ModOrigin | SFXPie::ModX | SFXPie::ModY | SFXPie::NegStart
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddX | SFXPie::SubX | SFXPie::MulX | SFXPie::DivX | SFXPie::ModArc | SFXPie::ModY | SFXPie::ModOrigin | SFXPie::ModRadius | SFXPie::ModStart | SFXPie::NegX
The behaviour is not defined when the value of param argument is 0.
SFXPie::AddY | SFXPie::SubY | SFXPie::MulY | SFXPie::DivY | SFXPie::ModX | SFXPie::ModOrigin | SFXPie::ModRadius | SFXPie::NegY
SFXPie::AddArc | SFXPie::SubArc | SFXPie::MulOrigin | SFXPie::MulRadius | SFXPie::MulStart | SFXPie::MulX | SFXPie::MulY | SFXPie::DivArc | SFXPie::ModArc | SFXPie::NegArc
[ public ] SFXPieRef MulOrigin( SInt16 x // value to multiply with the X coordinate of the center SInt16 y // value to multiply with the Y coordinate of the center );
[ public ] SFXPieRef MulOrigin( SInt16 param // value to multiply with the coordinates of the center );
SFXPie::AddOrigin | SFXPie::SubOrigin | SFXPie::MulArc | SFXPie::MulX | SFXPie::MulY | SFXPie::MulRadius | SFXPie::MulStart | SFXPie::DivOrigin | SFXPie::ModOrigin | SFXPie::NegOrigin
SFXPie::AddRadius | SFXPie::SubRadius | SFXPie::MulArc | SFXPie::MulX | SFXPie::MulY | SFXPie::MulOrigin | SFXPie::MulStart | SFXPie::DivRadius | SFXPie::ModRadius | SFXPie::NegRadius
SFXPie::AddStart | SFXPie::SubStart | SFXPie::MulArc | SFXPie::MulRadius | SFXPie::MulOrigin | SFXPie::MulX | SFXPie::MulY | SFXPie::DivStart | SFXPie::ModStart | SFXPie::NegStart
SFXPie::AddX | SFXPie::SubX | SFXPie::MulArc | SFXPie::MulY | SFXPie::MulOrigin | SFXPie::MulRadius | SFXPie::MulStart | SFXPie::DivX | SFXPie::ModX | SFXPie::NegX
SFXPie::AddY | SFXPie::SubY | SFXPie::MulArc | SFXPie::MulX | SFXPie::MulOrigin | SFXPie::MulRadius | SFXPie::MulStart | SFXPie::DivY | SFXPie::ModY | SFXPie::NegY
[ public ] SFXPieRef NegArc(Void);
SFXPie::AddArc | SFXPie::SubArc | SFXPie::MulArc | SFXPie::DivArc | SFXPie::ModArc | SFXPie::NegOrigin | SFXPie::NegRadius | SFXPie::NegStart | SFXPie::NegX | SFXPie::NegY
[ public ] SFXPieRef NegOrigin(Void);
SFXPie::AddOrigin | SFXPie::SubOrigin | SFXPie::MulOrigin | SFXPie::DivOrigin | SFXPie::ModOrigin | SFXPie::NegArc | SFXPie::NegX | SFXPie::NegY | SFXPie::NegRadius | SFXPie::NegStart
[ public ] SFXPieRef NegRadius(Void);
SFXPie::AddRadius | SFXPie::SubRadius | SFXPie::MulRadius | SFXPie::DivRadius | SFXPie::ModRadius | SFXPie::NegArc | SFXPie::NegX | SFXPie::NegY | SFXPie::NegOrigin | SFXPie::NegStart
[ public ] SFXPieRef NegStart(Void);
SFXPie::AddStart | SFXPie::SubStart | SFXPie::MulStart | SFXPie::DivStart | SFXPie::ModStart | SFXPie::NegArc | SFXPie::NegOrigin | SFXPie::NegRadius | SFXPie::NegX | SFXPie::NegY
[ public ] SFXPieRef NegX(Void);
SFXPie::AddX | SFXPie::SubX | SFXPie::MulX | SFXPie::DivX | SFXPie::ModX | SFXPie::NegArc | SFXPie::NegY | SFXPie::NegOrigin | SFXPie::NegRadius | SFXPie::GetStart
[ public ] SFXPieRef NegY(Void);
SFXPie::AddY | SFXPie::SubY | SFXPie::MulY | SFXPie::DivY | SFXPie::ModY | SFXPie::NegArc | SFXPie::NegX | SFXPie::NegOrigin | SFXPie::NegRadius | SFXPie::NegStart
[ public ] SFXPieRef Normalize(Void);
If the radius is a positive number, do nothing.
If the radius is negative, negate its sign.
SFXPie pie(70, 70, -20, 10, 270); if(pie.IsEmpty()){ // check whether the pie is empty // this function returns true since the radius is less than 0 pie.Normalize(); // normalize the pie } TRACE("x = %d, y = %d, radius = %d, start = %d, arc = %d", pie.GetX(), pie.GetY(), pie.GetRadius(), pie.GetStart(), pie.GetArc()); // x = 70, y = 70, radius = 20, start = 10, arc = 270
[ public ] SFXPieRef Offset( SFXGridConstRef param // value to add to the coordinates of the center );
[ public ] SFXPieRef Offset( SInt16 x // value to add to the X coordinate of the center SInt16 y // value to add to the Y coordinate of the center );
[ public ] SFXPieRef Set( SFXPieConstRef param // pie to set );
[ public ] SFXPieRef Set( SFXCircleConstRef circle // circle to set SInt16 start // beginning angle to set SInt16 arc // extent angle to set );
[ public ] SFXPieRef Set( SFXPixelConstRef origin // coordinate of the center to set SInt16 radius // radius to set SInt16 start // beginning angle to set SInt16 arc // extent angle to set );
[ public ] SFXPieRef Set( SInt16 x // X coordinate of the center to set SInt16 y // Y coordinate of the center to set SInt16 radius // radius to set SInt16 start // beginning angle to set SInt16 arc // extent angle to set );
[ public ] SFXPieRef Set( SFXCircleConstRef circle // source circle to set );
[ public ] SFXPieRef Set( SFXArcConstRef arc // cource arc to set );
If the argument is set only by the SFXCircle class, the beginning angle will be 0 degrees,and the extent angle will be 360 degrees.
SFXPie::GetArc | SFXPie::SetOrigin | SFXPie::SetRadius | SFXPie::SetStart | SFXPie::SetX | SFXPie::SetY
[ public ] SFXPieRef SetOrigin( SFXPixelConstRef param // coordinates value to set );
[ public ] SFXPieRef SetOrigin( SInt16 x // X coordinate value to set SInt16 y // Y coordinate value to set );
SFXPie::GetOrigin | SFXPie::SetArc | SFXPie::SetX | SFXPie::SetY | SFXPie::SetRadius | SFXPie::SetStart
SFXPie::GetRadius | SFXPie::SetArc | SFXPie::SetX | SFXPie::SetY | SFXPie::SetOrigin | SFXPie::SetStart
SFXPie::GetStart | SFXPie::SetArc | SFXPie::SetOrigin | SFXPie::SetRadius | SFXPie::SetX | SFXPie::SetY
SFXPie::GetX | SFXPie::SetArc | SFXPie::SetY | SFXPie::SetOrigin | SFXPie::SetRadius | SFXPie::SetStart
SFXPie::GetY | SFXPie::SetArc | SFXPie::SetX | SFXPie::SetOrigin | SFXPie::SetRadius | SFXPie::SetStart
SFXPie::AddArc | SFXPie::SubOrigin | SFXPie::SubRadius | SFXPie::SubStart | SFXPie::SubX | SFXPie::SubY | SFXPie::MulArc | SFXPie::DivArc | SFXPie::ModArc | SFXPie::NegArc
[ public ] SFXPieRef SubOrigin( SFXPixelConstRef param // value to subtract from the coordinates of the center );
[ public ] SFXPieRef SubOrigin( SInt16 x // value to subtract from the X coordinate of the center SInt16 y // value to subtract from the Y coordinate of the center );
SFXPie::AddOrigin | SFXPie::SubArc | SFXPie::SubX | SFXPie::SubY | SFXPie::SubRadius | SFXPie::SubStart | SFXPie::MulOrigin | SFXPie::DivOrigin | SFXPie::ModOrigin | SFXPie::NegOrigin
SFXPie::AddRadius | SFXPie::SubArc | SFXPie::SubX | SFXPie::SubY | SFXPie::SubOrigin | SFXPie::SubStart | SFXPie::MulRadius | SFXPie::DivRadius | SFXPie::ModRadius | SFXPie::NegRadius
SFXPie::AddStart | SFXPie::SubArc | SFXPie::MulStart | SFXPie::DivStart | SFXPie::ModStart | SFXPie::NegStart
SFXPie::AddX | SFXPie::SubArc | SFXPie::SubY | SFXPie::SubOrigin | SFXPie::SubRadius | SFXPie::SubStart | SFXPie::MulX | SFXPie::DivX | SFXPie::ModX | SFXPie::NegX
SFXPie::AddY | SFXPie::SubArc | SFXPie::SubX | SFXPie::SubOrigin | SFXPie::SubRadius | SFXPie::SubStart | SFXPie::MulY | SFXPie::DivY | SFXPie::ModY | SFXPie::NegY
[ public ] SFXPieRef Unoffset( SFXGridConstRef param // value to subtract from the coordinates of the center );
[ public ] SFXPieRef Unoffset( SInt16 x // value to subtract from the X coordinate of the center SInt16 y // value to subtract from the Y coordinate of the center );
[ public, static ] SFXPieConstRef 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.
SFXPie pie(70, 70, 20, 10, 270); pie = SFXPie::ZeroInstance(); // initialize pie TRACE("x = %d, y = %d, radius = %d, start = %d, arc = %d", pie.GetX(), pie.GetY(), pie.GetRadius(), pie.GetStart(), pie.GetArc()); // x = 0, y = 0, radius = 0, start = 0, arc = 0
[ public, friend ] SFXPie::AtomRec * atomic_cast( SFXPie * param // pie to cast );
[ public, friend ] SFXPie::AtomRec const * atomic_cast( SFXPie const * param // pie to cast );
[ public, friend ] AEEPie * interface_cast( SFXPie * param // pie to cast );
[ public, friend ] AEEPie const * interface_cast( SFXPie const * param // pie to cast );
[ public ] SFXPieRef operator=( SFXPieConstRef param // source pie );
[ public, friend ] Bool operator==( SFXPieConstRef left // pie to compare SFXPieConstRef right // pie to compare );
[ public ] SFXPieRef operator-=( SFXGridConstRef param // value to subtract from the coordinates of the center );
[ public, friend ] SFXPie operator-( SFXPieConstRef left // pie to move SFXGridConstRef right // value to subtract from the coordinates of the center of the pie );
[ public, friend ] Bool operator!=( SFXPieConstRef left // pie to compare SFXPieConstRef right // pie to compare );
[ public ] SFXPieRef operator+=( SFXGridConstRef param // value to add to the coordinates of the center );
[ public, friend ] SFXPie operator+( SFXPieConstRef left // pie to move SFXGridConstRef right // value to add to the coordinates of the center of the pie );
struct AtomRec { SFXCircle::AtomRec circle; // circle SInt16 start; // beginning angle SInt16 arc; // extent angle };
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |