PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFXArc
Class which represents an arc.
#include <SFXArc.h.hpp>
class SFXArc;
SFMTYPEDEFCLASS(SFXArc)

Collaboration diagram

 Collaboration diagram of SFXArcClass

Reference

BREW API AEEArc | SFXPie | SFXCircle

Member

Constructor/Destructor
SFXArc( Void )
Constructor of the SFXArc class.
SFXArc( SFXArcConstRef param )
Constructor of the SFXArc class.
SFXArc( SInt16 x , SInt16 y , SInt16 radius , SInt16 start , SInt16 arc )
Constructor of the SFXArc class.
SFXArc( SFXPixelConstRef origin , SInt16 radius , SInt16 start , SInt16 arc )
Constructor of the SFXArc class.
SFXArc( SFXCircleConstRef circle , SInt16 start , SInt16 arc )
Constructor of the SFXArc class.
SFXArc( SFXCircleConstRef circle )
Constructor of the SFXArc class.
SFXArc( SFXPieConstRef pie )
Constructor of the SFXArc class.
Public Functions
SFXArcRef AddArc( SInt16 param )
Add the specified value to the extent angle.
SFXArcRef AddOrigin( SInt16 x , SInt16 y )
Add the specified value to the coordinates of the center.
SFXArcRef AddOrigin( SFXPixelConstRef param )
Add the specified value to the coordinates of the center.
SFXArcRef AddRadius( SInt16 param )
Add the specified value to the radius.
SFXArcRef AddStart( SInt16 param )
Add the specified value to the beginning angle.
SFXArcRef AddX( SInt16 param )
Add the specified value to the X coordinate of the center.
SFXArcRef AddY( SInt16 param )
Add the specified value to the Y coordinate of the center.
SFXArcRef DivArc( SInt16 param )
Divide the extent angle by the specified value.
SFXArcRef DivOrigin( SInt16 x , SInt16 y )
Divide the coordinates of the center by the specified value.
SFXArcRef DivOrigin( SInt16 param )
Divide the coordinates of the center by the specified value.
SFXArcRef DivRadius( SInt16 param )
Divide the radius by the specified value.
SFXArcRef DivStart( SInt16 param )
Divide the beginning angle by the specified value.
SFXArcRef DivX( SInt16 param )
Divide the X coordinate of the center by the specified value.
SFXArcRef DivY( SInt16 param )
Divide the Y coordinate of the center by the specified value.
Bool Equals( SFXArcConstRef param )
Check whether this arc equals the specified arc or not.
Bool Equals( SFXCircleConstRef circle , SInt16 start , SInt16 arc )
Check whether this arc equals the specified arc or not.
Bool Equals( SFXPixelConstRef origin , SInt16 radius , SInt16 start , SInt16 arc )
Check whether this arc equals the specified arc or not.
Bool Equals( SInt16 x , SInt16 y , SInt16 radius , SInt16 start , SInt16 arc )
Check whether this arc equals the specified arc 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.
SFXArcRef ModArc( SInt16 param )
Set the extent angle to the remainder of the division of this extent angle by the specified value.
SFXArcRef ModOrigin( SInt16 x , SInt16 y )
Set the coordinates of the center to the remainder of the division of this coordinates by the specified value.
SFXArcRef ModOrigin( SInt16 param )
Set the coordinates of the center to the remainder of the division of this coordinates by the specified value.
SFXArcRef ModRadius( SInt16 param )
Set the radius to the remainder of the division of this radius by the specified value.
SFXArcRef ModStart( SInt16 param )
Set the beginning angle to the remainder of the division of this beginning angle by the specified value.
SFXArcRef ModX( SInt16 param )
Set the X coordinate of the center to the remainder of the division of this X coordinate by the specified value.
SFXArcRef ModY( SInt16 param )
Set the Y coordinate of the center to the remainder of the division of this Y coordinate by the specified value.
SFXArcRef MulArc( SInt16 param )
Multiply the extent angle by the specified value.
SFXArcRef MulOrigin( SInt16 x , SInt16 y )
Multiply the coordinates of the center by the specified value.
SFXArcRef MulOrigin( SInt16 param )
Multiply the coordinates of the center by the specified value.
SFXArcRef MulRadius( SInt16 param )
Multiply the radius by the specified value.
SFXArcRef MulStart( SInt16 param )
Multiply the beginning angle by the specified value.
SFXArcRef MulX( SInt16 param )
Multiply the X coordinate of the center by the specified value.
SFXArcRef MulY( SInt16 param )
Multiply the Y coordinate of the center by the specified value.
SFXArcRef NegArc( Void )
Negate the sign of the extent angle.
SFXArcRef NegOrigin( Void )
Negate the sign of the coordinates of the center.
SFXArcRef NegRadius( Void )
Negate the sign of the radius.
SFXArcRef NegStart( Void )
Negate the sign of the beginning angle.
SFXArcRef NegX( Void )
Negate the sign of X coordinate of the center.
SFXArcRef NegY( Void )
Negate the sign of Y coordinate of the center.
SFXArcRef Normalize( Void )
Normalize the arc.
SFXArcRef Offset( SInt16 x , SInt16 y )
Add the specified value to the coordinates of the center and move this arc.
SFXArcRef Offset( SFXGridConstRef param )
Add the specified value to the coordinates of the center and move this arc.
SFXArcRef Set( SFXArcConstRef param )
Set the arc
SFXArcRef Set( SInt16 x , SInt16 y , SInt16 radius to set , SInt16 start , SInt16 arc )
Set the arc
SFXArcRef Set( SFXPixelConstRef origin , SInt16 radius , SInt16 start , SInt16 arc )
Set the arc
SFXArcRef Set( SFXCircleConstRef circle , SInt16 start , SInt16 arc )
Set the arc
SFXArcRef Set( SFXCircleConstRef circle )
Set the arc
SFXArcRef Set( SFXPieConstRef pie )
Set the arc
SFXArcRef SetArc( SInt16 param )
Set the extent angle.
SFXArcRef SetOrigin( SInt16 x , SInt16 y )
Set the coordinates of the center.
SFXArcRef SetOrigin( SFXPixelConstRef param )
Set the coordinates of the center.
SFXArcRef SetRadius( SInt16 param )
Set the radius.
SFXArcRef SetStart( SInt16 param )
Set the beginning angle.
SFXArcRef SetX( SInt16 param )
Set the X coordinate of the center.
SFXArcRef SetY( SInt16 param )
Set the Y coordinate of the center.
SFXArcRef SubArc( SInt16 param )
Subtract the specified value from the extent angle.
SFXArcRef SubOrigin( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of the center.
SFXArcRef SubOrigin( SFXPixelConstRef param )
Subtract the specified value from the coordinates of the center.
SFXArcRef SubRadius( SInt16 param )
Subtract the specified value from the radius.
SFXArcRef SubStart( SInt16 param )
Subtract the specified value from the beginning angle.
SFXArcRef SubX( SInt16 param )
Subtract the specified value from the X coordinate of the center.
SFXArcRef SubY( SInt16 param )
Subtract the specified value from the Y coordinate of the center.
SFXArcRef Unoffset( SFXGridConstRef param )
Subtract the specified value from the coordinates of the center and move this arc.
SFXArcRef Unoffset( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of the center and move this arc.
static
SFXArcConstRef
ZeroInstance( Void )
Get the instance that represents 0.
SFXArcRef operator+=( SFXGridConstRef param )
Add the specified value to the coordinates of the center and move this arc.
SFXArcRef operator-=( SFXGridConstRef param )
Subtract the specified value from the coordinates of the center and move this arc.
SFXArcRef operator=( SFXArcConstRef param )
Assign an arc.
SFXArc::AtomRec * atomic_cast( SFXArc * param )
Convert SFXArc into SFXArc::AtomRec.
SFXArc::AtomRec const * atomic_cast( SFXArc const * param )
Convert SFXArc into SFXArc::AtomRec.
AEEArc * interface_cast( SFXArc * param )
Convert SFXArc into AEEArc.
AEEArc const * interface_cast( SFXArc const * param )
Convert SFXArc into AEEArc.
Bool operator==( SFXArcConstRef left , SFXArcConstRef right )
Check the "==" relation.
SFXArc operator-( SFXArcConstRef left , SFXGridConstRef right )
Subtract the specified value from the coordinates of the center of an arc and move this arc.
Bool operator!=( SFXArcConstRef left , SFXArcConstRef right )
Check the "!=" relation.
SFXArc operator+( SFXArcConstRef left , SFXGridConstRef right )
Add the specified value to the coordinates of the center of an arc and move this arc.
Types
AtomRec
Structure that represents an arc.
Global Functions
SFXArc::AtomRec * atomic_cast( SFXArc * param )
Convert SFXArc into SFXArc::AtomRec.
SFXArc::AtomRec const * atomic_cast( SFXArc const * param )
Convert SFXArc into SFXArc::AtomRec.
AEEArc * interface_cast( SFXArc * param )
Convert SFXArc into AEEArc.
AEEArc const * interface_cast( SFXArc const * param )
Convert SFXArc into AEEArc.
Bool operator==( SFXArcConstRef left , SFXArcConstRef right )
Check the "==" relation.
SFXArc operator-( SFXArcConstRef left , SFXGridConstRef right )
Subtract the specified value from the coordinates of the center of an arc and move this arc.
Bool operator!=( SFXArcConstRef left , SFXArcConstRef right )
Check the "!=" relation.
SFXArc operator+( SFXArcConstRef left , SFXGridConstRef right )
Add the specified value to the coordinates of the center of an arc and move this arc.

SFXArc::SFXArc
Constructor of the SFXArc class.
[ public, explicit ]
SFXArc(Void);
[ public ]
SFXArc(
    SFXArcConstRef param   // 
);
[ public, explicit ]
SFXArc(
    SInt16 x        // X coordinate of the center
    SInt16 y        // Y coordinate of the center
    SInt16 radius   // radius
    SInt16 start    // beginning angle (in degrees)
    SInt16 arc      // extent angle (in degrees)
);
[ public, explicit ]
SFXArc(
    SFXPixelConstRef origin   // coordinate of the center
    SInt16 radius             // radius
    SInt16 start              // beginning angle (in degrees)
    SInt16 arc                // extent angle (in degrees)
);
[ public, explicit ]
SFXArc(
    SFXCircleConstRef circle   // source circle of origin and radius
    SInt16 start               // beginning angle (in degrees)
    SInt16 arc                 // extent angle (in degrees)
);
[ public, explicit ]
SFXArc(
    SFXCircleConstRef circle   // source circle
);
[ public, explicit ]
SFXArc(
    SFXPieConstRef pie   // source pie
);

Description

If the argument is set only by SFXCircle class, the beginning angle will be 0 degree,and the extent angle will be 360 degrees.

Reference

BREW API AEEArc | SFXArc::operator=


SFXArc::AddArc
Add the specified value to the extent angle.
[ public ]
SFXArcRef AddArc(
    SInt16 param   // value to add
);

Reference

SFXArc::AddX | SFXArc::AddY | SFXArc::AddRadius | SFXArc::AddStart | SFXArc::AddOrigin | SFXArc::SubArc | SFXArc::MulArc | SFXArc::DivArc | SFXArc::ModArc | SFXArc::NegArc


SFXArc::AddOrigin
Add the specified value to the coordinates of the center.
[ public ]
SFXArcRef AddOrigin(
    SInt16 x   // value to add to X coordinate
    SInt16 y   // value to add to Y coordinate
);
[ public ]
SFXArcRef AddOrigin(
    SFXPixelConstRef param   // value to move
);

Reference

SFXArc::AddX | SFXArc::AddY | SFXArc::AddRadius | SFXArc::AddStart | SFXArc::AddArc | SFXArc::SubX | SFXArc::MulX | SFXArc::DivX | SFXArc::ModX | SFXArc::NegX | operator+ | SFXArc::operator+= | SFXArc::Offset


SFXArc::AddRadius
Add the specified value to the radius.
[ public ]
SFXArcRef AddRadius(
    SInt16 param   // value to add
);

Reference

SFXArc::AddX | SFXArc::AddY | SFXArc::AddStart | SFXArc::AddArc | SFXArc::AddOrigin | SFXArc::SubRadius | SFXArc::MulRadius | SFXArc::DivRadius | SFXArc::ModRadius | SFXArc::NegRadius


SFXArc::AddStart
Add the specified value to the beginning angle.
[ public ]
SFXArcRef AddStart(
    SInt16 param   // value to add
);

Reference

SFXArc::AddX | SFXArc::AddY | SFXArc::AddRadius | SFXArc::AddArc | SFXArc::AddOrigin | SFXArc::SubStart | SFXArc::MulStart | SFXArc::DivStart | SFXArc::ModStart | SFXArc::NegStart


SFXArc::AddX
Add the specified value to the X coordinate of the center.
[ public ]
SFXArcRef AddX(
    SInt16 param   // value to add
);

Reference

SFXArc::AddY | SFXArc::AddRadius | SFXArc::AddStart | SFXArc::AddArc | SFXArc::AddOrigin | SFXArc::SubX | SFXArc::MulX | SFXArc::DivX | SFXArc::ModX | SFXArc::NegX


SFXArc::AddY
Add the specified value to the Y coordinate of the center.
[ public ]
SFXArcRef AddY(
    SInt16 param   // value to add
);

Reference

SFXArc::AddX | SFXArc::AddRadius | SFXArc::AddStart | SFXArc::AddArc | SFXArc::AddOrigin | SFXArc::SubY | SFXArc::MulY | SFXArc::DivY | SFXArc::ModY | SFXArc::NegY


SFXArc::DivArc
Divide the extent angle by the specified value.
[ public ]
SFXArcRef DivArc(
    SInt16 param   // divide by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::DivX | SFXArc::DivY | SFXArc::DivRadius | SFXArc::DivStart | SFXArc::DivOrigin | SFXArc::AddArc | SFXArc::SubArc | SFXArc::MulArc | SFXArc::ModArc | SFXArc::NegArc


SFXArc::DivOrigin
Divide the coordinates of the center by the specified value.
[ public ]
SFXArcRef DivOrigin(
    SInt16 x   // divide X coordinate by this value
    SInt16 y   // divide Y coordinate by this value
);
[ public ]
SFXArcRef DivOrigin(
    SInt16 param   // divide the coordinates by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXArc::AddOrigin | SFXArc::SubOrigin | SFXArc::MulOrigin | SFXArc::DivX | SFXArc::DivY | SFXArc::DivRadius | SFXArc::ModOrigin | SFXArc::NegOrigin


SFXArc::DivRadius
Divide the radius by the specified value.
[ public ]
SFXArcRef DivRadius(
    SInt16 param   // divide by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddRadius | SFXArc::SubRadius | SFXArc::MulRadius | SFXArc::DivX | SFXArc::DivY | SFXArc::DivOrigin | SFXArc::ModRadius | SFXArc::NegRadius


SFXArc::DivStart
Divide the beginning angle by the specified value.
[ public ]
SFXArcRef DivStart(
    SInt16 param   // divide by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddStart | SFXArc::SubStart | SFXArc::MulStart | SFXArc::ModStart | SFXArc::NegStart


SFXArc::DivX
Divide the X coordinate of the center by the specified value.
[ public ]
SFXArcRef DivX(
    SInt16 param   // divide by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddX | SFXArc::SubX | SFXArc::MulX | SFXArc::DivY | SFXArc::DivOrigin | SFXArc::DivRadius | SFXArc::ModX | SFXArc::NegX


SFXArc::DivY
Divide the Y coordinate of the center by the specified value.
[ public ]
SFXArcRef DivY(
    SInt16 param   // divide by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddY | SFXArc::SubY | SFXArc::MulY | SFXArc::DivX | SFXArc::DivOrigin | SFXArc::DivRadius | SFXArc::ModY | SFXArc::NegY


SFXArc::Equals
Check whether this arc equals the specified arc or not.
[ public, const ]
Bool Equals(
    SFXArcConstRef param   // arc 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   // origin
    SInt16 radius             // radius
    SInt16 start              // beginning angle
    SInt16 arc                // extent angle
);
[ public, const ]
Bool Equals(
    SInt16 x        // X coordinate of the center
    SInt16 y        // Y coordinate of the center
    SInt16 radius   // radius
    SInt16 start    // beginning angle
    SInt16 arc      // extent angle
);

Return value

  • If yes: true
  • Otherwise: false

Reference

operator==


SFXArc::GetArc
Get the extent angle.
[ public, const ]
SInt16 GetArc(Void);

Reference

SFXArc::SetArc | SFXArc::GetX | SFXArc::GetY | SFXArc::GetRadius | SFXArc::GetStart | SFXArc::GetOrigin


SFXArc::GetOrigin
Get the coordinates of the center.
[ public, const ]
SFXPixelConstRef GetOrigin(Void);

Reference

SFXArc::SetOrigin | SFXArc::GetX | SFXArc::GetY | SFXArc::GetRadius | SFXArc::GetStart | SFXArc::GetArc


SFXArc::GetRadius
Get the radius.
[ public, const ]
SInt16 GetRadius(Void);

Reference

SFXArc::SetRadius | SFXArc::GetX | SFXArc::GetY | SFXArc::GetStart | SFXArc::GetArc | SFXArc::GetOrigin


SFXArc::GetStart
Get the beginning angle.
[ public, const ]
SInt16 GetStart(Void);

Reference

SFXArc::SetStart


SFXArc::GetX
Get the X coordinate of the center.
[ public, const ]
SInt16 GetX(Void);

Reference

SFXArc::SetX | SFXArc::GetY | SFXArc::GetRadius | SFXArc::GetStart | SFXArc::GetOrigin


SFXArc::GetY
Get the Y coordinate of the center.
[ public, const ]
SInt16 GetY(Void);

Reference

SFXArc::SetY | SFXArc::GetX | SFXArc::GetRadius | SFXArc::GetStart | SFXArc::GetArc | SFXArc::GetOrigin


SFXArc::ModArc
Set the extent angle to the remainder of the division of this extent angle by the specified value.
[ public ]
SFXArcRef ModArc(
    SInt16 param   // divide the extent angle by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::ModX | SFXArc::ModY | SFXArc::ModRadius | SFXArc::ModStart | SFXArc::ModOrigin | SFXArc::AddArc | SFXArc::SubArc | SFXArc::MulArc | SFXArc::DivArc | SFXArc::NegArc


SFXArc::ModOrigin
Set the coordinates of the center to the remainder of the division of this coordinates by the specified value.
[ public ]
SFXArcRef ModOrigin(
    SInt16 x   // divide X coordinate by this value
    SInt16 y   // divide Y coordinate by this value
);
[ public ]
SFXArcRef ModOrigin(
    SInt16 param   // divide the coordinates by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXArc::AddOrigin | SFXArc::SubOrigin | SFXArc::MulOrigin | SFXArc::DivOrigin | SFXArc::ModX | SFXArc::ModY | SFXArc::ModRadius | SFXArc::NegOrigin


SFXArc::ModRadius
Set the radius to the remainder of the division of this radius by the specified value.
[ public ]
SFXArcRef ModRadius(
    SInt16 param   // divide the radius by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddRadius | SFXArc::SubRadius | SFXArc::MulRadius | SFXArc::DivRadius | SFXArc::ModX | SFXArc::ModY | SFXArc::ModOrigin | SFXArc::NegRadius


SFXArc::ModStart
Set the beginning angle to the remainder of the division of this beginning angle by the specified value.
[ public ]
SFXArcRef ModStart(
    SInt16 param   // divide the beginning angle by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddStart | SFXArc::SubStart | SFXArc::MulStart | SFXArc::DivStart | SFXArc::NegStart


SFXArc::ModX
Set the X coordinate of the center to the remainder of the division of this X coordinate by the specified value.
[ public ]
SFXArcRef ModX(
    SInt16 param   // divide X coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddX | SFXArc::SubX | SFXArc::MulX | SFXArc::DivX | SFXArc::ModY | SFXArc::ModOrigin | SFXArc::ModRadius | SFXArc::NegX


SFXArc::ModY
Set the Y coordinate of the center to the remainder of the division of this Y coordinate by the specified value.
[ public ]
SFXArcRef ModY(
    SInt16 param   // divide Y coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXArc::AddY | SFXArc::SubY | SFXArc::MulY | SFXArc::DivY | SFXArc::ModX | SFXArc::ModOrigin | SFXArc::ModRadius | SFXArc::NegY


SFXArc::MulArc
Multiply the extent angle by the specified value.
[ public ]
SFXArcRef MulArc(
    SInt16 param   // multiply by this value
);

Reference

SFXArc::MulX | SFXArc::MulY | SFXArc::MulRadius | SFXArc::MulStart | SFXArc::MulOrigin | SFXArc::AddArc | SFXArc::SubArc | SFXArc::DivArc | SFXArc::ModArc | SFXArc::NegArc


SFXArc::MulOrigin
Multiply the coordinates of the center by the specified value.
[ public ]
SFXArcRef MulOrigin(
    SInt16 x   // multiply X coordinate by this value
    SInt16 y   // multiply Y coordinate by this value
);
[ public ]
SFXArcRef MulOrigin(
    SInt16 param   // multiply the coordinates by this value
);

Reference

SFXArc::MulX | SFXArc::MulY | SFXArc::MulRadius | SFXArc::MulStart | SFXArc::MulArc | SFXArc::AddOrigin | SFXArc::SubOrigin | SFXArc::DivOrigin | SFXArc::ModOrigin | SFXArc::NegOrigin | operator+ | SFXArc::operator+= | SFXArc::Offset


SFXArc::MulRadius
Multiply the radius by the specified value.
[ public ]
SFXArcRef MulRadius(
    SInt16 param   // multiply by this value
);

Reference

SFXArc::MulX | SFXArc::MulY | SFXArc::MulStart | SFXArc::MulArc | SFXArc::MulOrigin | SFXArc::AddRadius | SFXArc::SubRadius | SFXArc::DivRadius | SFXArc::ModRadius | SFXArc::NegRadius


SFXArc::MulStart
Multiply the beginning angle by the specified value.
[ public ]
SFXArcRef MulStart(
    SInt16 param   // multiply by this value
);

Reference

SFXArc::MulX | SFXArc::MulY | SFXArc::MulRadius | SFXArc::MulArc | SFXArc::MulOrigin | SFXArc::AddStart | SFXArc::SubStart | SFXArc::DivStart | SFXArc::ModStart | SFXArc::NegStart


SFXArc::MulX
Multiply the X coordinate of the center by the specified value.
[ public ]
SFXArcRef MulX(
    SInt16 param   // multiply by this value
);

Reference

SFXArc::MulY | SFXArc::MulRadius | SFXArc::MulStart | SFXArc::MulArc | SFXArc::MulOrigin | SFXArc::AddX | SFXArc::SubX | SFXArc::DivX | SFXArc::ModX | SFXArc::NegX


SFXArc::MulY
Multiply the Y coordinate of the center by the specified value.
[ public ]
SFXArcRef MulY(
    SInt16 param   // multiply by this value
);

Reference

SFXArc::MulX | SFXArc::MulRadius | SFXArc::MulStart | SFXArc::MulArc | SFXArc::MulOrigin | SFXArc::AddY | SFXArc::SubY | SFXArc::DivY | SFXArc::ModY | SFXArc::NegY


SFXArc::NegArc
Negate the sign of the extent angle.
[ public ]
SFXArcRef NegArc(Void);

Reference

SFXArc::AddArc | SFXArc::SubArc | SFXArc::MulArc | SFXArc::DivArc | SFXArc::ModArc | SFXArc::NegX | SFXArc::NegY | SFXArc::NegRadius | SFXArc::NegStart | SFXArc::NegOrigin


SFXArc::NegOrigin
Negate the sign of the coordinates of the center.
[ public ]
SFXArcRef NegOrigin(Void);

Reference

SFXArc::AddOrigin | SFXArc::SubOrigin | SFXArc::MulOrigin | SFXArc::DivOrigin | SFXArc::ModOrigin | SFXArc::NegX | SFXArc::NegY | SFXArc::NegRadius


SFXArc::NegRadius
Negate the sign of the radius.
[ public ]
SFXArcRef NegRadius(Void);

Reference

SFXArc::AddRadius | SFXArc::SubRadius | SFXArc::MulRadius | SFXArc::DivRadius | SFXArc::ModRadius | SFXArc::NegX | SFXArc::NegY | SFXArc::NegOrigin


SFXArc::NegStart
Negate the sign of the beginning angle.
[ public ]
SFXArcRef NegStart(Void);

Reference

SFXArc::AddStart | SFXArc::SubStart | SFXArc::MulStart | SFXArc::DivStart | SFXArc::ModStart


SFXArc::NegX
Negate the sign of X coordinate of the center.
[ public ]
SFXArcRef NegX(Void);

Reference

SFXArc::AddX | SFXArc::SubX | SFXArc::MulX | SFXArc::DivX | SFXArc::ModX | SFXArc::NegY | SFXArc::NegOrigin | SFXArc::NegRadius


SFXArc::NegY
Negate the sign of Y coordinate of the center.
[ public ]
SFXArcRef NegY(Void);

Reference

SFXArc::AddY | SFXArc::SubY | SFXArc::MulY | SFXArc::DivY | SFXArc::ModY | SFXArc::NegX | SFXArc::NegOrigin | SFXArc::NegRadius


SFXArc::Normalize
Normalize the arc.
[ public ]
SFXArcRef Normalize(Void);

Description

If the radius is a positive number, do nothing.

If the radius is negative, negate its sign.

Example

SFXArc arc(75, 75, -20, 60, 45);

arc.Normalize(); // normalize the arc

TRACE("x = %d, y = %d, radius = %d, start = %d, arc = %d", arc.GetX(), arc.GetY(), arc.GetRadius(), arc.GetStart(), arc.GetArc()); // x = 75, y = 75, radius = 20, start = 60, arc = 45

SFXArc::Offset
Add the specified value to the coordinates of the center and move this arc.
[ public ]
SFXArcRef Offset(
    SInt16 x   // value to add to X coordinate (to move on X axis)
    SInt16 y   // value to add to Y coordinate (to move on Y axis)
);
[ public ]
SFXArcRef Offset(
    SFXGridConstRef param   // value to add to the coordinates (moving direction)
);

Reference

operator+ | operator-


SFXArc::Set
Set the arc
[ public ]
SFXArcRef Set(
    SFXArcConstRef param   // arc to set
);
[ public ]
SFXArcRef Set(
    SInt16 x               // X coordinate of the center to set
    SInt16 y               // Y coordinate of the center to set
    SInt16 radius to set   // radius
    SInt16 start           // beginning angle (in degrees) to set
    SInt16 arc             // extent angle (in degrees) to set
);
[ public ]
SFXArcRef Set(
    SFXPixelConstRef origin   // coordinates of the center to set
    SInt16 radius             // radius to set
    SInt16 start              // beginning angle (in degrees) to set
    SInt16 arc                // extent angle (in degrees) to set
);
[ public ]
SFXArcRef Set(
    SFXCircleConstRef circle   // source circle of origin and radius to set
    SInt16 start               // beginning angle (in degrees) to set
    SInt16 arc                 // extent angle (in degrees) to set
);
[ public ]
SFXArcRef Set(
    SFXCircleConstRef circle   // circle to set
);
[ public ]
SFXArcRef Set(
    SFXPieConstRef pie   // pie to set
);

Description

If the argument is set only by SFXCircle class, the beginning angle will be 0 degree,and the extent angle will be 360 degrees.

Reference

SFXArc::SetX | SFXArc::SetY | SFXArc::SetRadius | SFXArc::SetStart | SFXArc::SetArc | SFXArc::SetOrigin | SFXArc::operator=


SFXArc::SetArc
Set the extent angle.
[ public ]
SFXArcRef SetArc(
    SInt16 param   // extent angle to set
);

Reference

SFXArc::GetArc | SFXArc::Set | SFXArc::SetX | SFXArc::SetY | SFXArc::SetRadius | SFXArc::SetStart | SFXArc::SetOrigin


SFXArc::SetOrigin
Set the coordinates of the center.
[ public ]
SFXArcRef SetOrigin(
    SInt16 x   // X coordinate of the center to set
    SInt16 y   // Y coordinate of the center to set
);
[ public ]
SFXArcRef SetOrigin(
    SFXPixelConstRef param   // coordinates of the center to set
);

Reference

SFXArc::GetOrigin | SFXArc::Set | SFXArc::SetX | SFXArc::SetY | SFXArc::SetRadius | SFXArc::SetStart | SFXArc::SetArc


SFXArc::SetRadius
Set the radius.
[ public ]
SFXArcRef SetRadius(
    SInt16 param   // radius to set
);

Reference

SFXArc::GetRadius | SFXArc::Set | SFXArc::SetX | SFXArc::SetY | SFXArc::SetStart | SFXArc::SetArc | SFXArc::SetOrigin


SFXArc::SetStart
Set the beginning angle.
[ public ]
SFXArcRef SetStart(
    SInt16 param   // beginning angle to set
);

Reference

SFXArc::GetStart | SFXArc::Set | SFXArc::SetX | SFXArc::SetY | SFXArc::SetRadius | SFXArc::SetArc | SFXArc::SetOrigin


SFXArc::SetX
Set the X coordinate of the center.
[ public ]
SFXArcRef SetX(
    SInt16 param   // X coordinate of the center to set
);

Reference

SFXArc::GetX | SFXArc::Set | SFXArc::SetY | SFXArc::SetRadius | SFXArc::SetStart | SFXArc::SetArc | SFXArc::SetOrigin


SFXArc::SetY
Set the Y coordinate of the center.
[ public ]
SFXArcRef SetY(
    SInt16 param   // Y coordinate of the center to set
);

Reference

SFXArc::GetY | SFXArc::Set | SFXArc::SetX | SFXArc::SetRadius | SFXArc::SetStart | SFXArc::SetArc | SFXArc::SetOrigin


SFXArc::SubArc
Subtract the specified value from the extent angle.
[ public ]
SFXArcRef SubArc(
    SInt16 param   // value to subtract
);

Reference

SFXArc::SubX | SFXArc::SubY | SFXArc::SubRadius | SFXArc::SubStart | SFXArc::SubOrigin | SFXArc::AddArc | SFXArc::MulArc | SFXArc::DivArc | SFXArc::ModArc | SFXArc::NegArc


SFXArc::SubOrigin
Subtract the specified value from the coordinates of the center.
[ public ]
SFXArcRef SubOrigin(
    SInt16 x   // value to subtract from X coordinate of the center
    SInt16 y   // value to subtract from Y coordinate of the center
);
[ public ]
SFXArcRef SubOrigin(
    SFXPixelConstRef param   // value to subtract from the coordinates of the center
);

Reference

SFXArc::SubX | SFXArc::SubY | SFXArc::SubRadius | SFXArc::SubStart | SFXArc::SubArc | operator- | SFXArc::operator-= | SFXArc::Offset


SFXArc::SubRadius
Subtract the specified value from the radius.
[ public ]
SFXArcRef SubRadius(
    SInt16 param   // value to subtract
);

Description

radiusの値が負になった場合の動作は未定義です.

Reference

SFXArc::SubX | SFXArc::SubY | SFXArc::SubStart | SFXArc::SubArc | SFXArc::SubOrigin


SFXArc::SubStart
Subtract the specified value from the beginning angle.
[ public ]
SFXArcRef SubStart(
    SInt16 param   // value to subtract
);

Reference

SFXArc::SubX | SFXArc::SubY | SFXArc::SubRadius | SFXArc::SubArc | SFXArc::SubOrigin | SFXArc::AddStart | SFXArc::MulStart | SFXArc::DivStart | SFXArc::ModStart | SFXArc::NegStart


SFXArc::SubX
Subtract the specified value from the X coordinate of the center.
[ public ]
SFXArcRef SubX(
    SInt16 param   // value to subtract
);

Reference

SFXArc::SubY | SFXArc::SubRadius | SFXArc::SubStart | SFXArc::SubArc | SFXArc::SubOrigin | SFXArc::AddX | SFXArc::MulX | SFXArc::DivX | SFXArc::ModX | SFXArc::NegX


SFXArc::SubY
Subtract the specified value from the Y coordinate of the center.
[ public ]
SFXArcRef SubY(
    SInt16 param   // value to subtract
);

Reference

SFXArc::SubX | SFXArc::SubRadius | SFXArc::SubStart | SFXArc::SubArc | SFXArc::SubOrigin | SFXArc::AddY | SFXArc::MulY | SFXArc::DivY | SFXArc::ModY | SFXArc::NegY


SFXArc::Unoffset
Subtract the specified value from the coordinates of the center and move this arc.
[ public ]
SFXArcRef Unoffset(
    SFXGridConstRef param   // value to subtract from the coordinates
);
[ public ]
SFXArcRef Unoffset(
    SInt16 x   // value to subtract from X coordinate
    SInt16 y   // value to subtract from Y coordinate
);

Reference

SFXArc::Offset | operator- | operator+


SFXArc::ZeroInstance
Get the instance that represents 0.
[ public, static ]
SFXArcConstRef ZeroInstance(Void);

Description

This function returns the 0 instance, which means that 0 or null is set to all the member variables of its corresponding AtomRec struct.

Example

SFXArc arc(75, 75, 20, 60, 45);

arc = SFXArc::ZeroInstance();  // initialize arc
TRACE("x = %d, y = %d, radius = %d, start = %d, arc = %d", arc.GetX(), arc.GetY(), arc.GetRadius(), arc.GetStart(), arc.GetArc()); // x = 0, y = 0, radius = 0, start = 0, arc = 0

Reference

SFXArc::AtomRec


atomic_cast
Convert SFXArc into SFXArc::AtomRec.
[ public, friend ]
SFXArc::AtomRec * atomic_cast(
    SFXArc * param   // arc to cast
);
[ public, friend ]
SFXArc::AtomRec const * atomic_cast(
    SFXArc const * param   // arc to cast
);

Reference

SFXArc::AtomRec


interface_cast
Convert SFXArc into AEEArc.
[ public, friend ]
AEEArc * interface_cast(
    SFXArc * param   // arc to cast
);
[ public, friend ]
AEEArc const * interface_cast(
    SFXArc const * param   // arc to cast
);

SFXArc::operator=
Assign an arc.
[ public ]
SFXArcRef operator=(
    SFXArcConstRef param   // source arc
);

Reference

SFXArc::Set


operator==
Check the "==" relation.
[ public, friend ]
Bool operator==(
    SFXArcConstRef left    // arc to compare
    SFXArcConstRef right   // arc to compare
);

Return value

  • If yes: true
  • Otherwise: false

Reference

SFXArc::Equals


SFXArc::operator-=
Subtract the specified value from the coordinates of the center and move this arc.
[ public ]
SFXArcRef operator-=(
    SFXGridConstRef param   // value to subtract from the coordinates
);

Reference

operator-


operator-
Subtract the specified value from the coordinates of the center of an arc and move this arc.
[ public, friend ]
SFXArc operator-(
    SFXArcConstRef left     // source arc
    SFXGridConstRef right   // value to subtract from the coordinates of the center of the arc
);

Reference

SFXArc::Offset | SFXArc::SubOrigin


operator!=
Check the "!=" relation.
[ public, friend ]
Bool operator!=(
    SFXArcConstRef left    // arc to compare
    SFXArcConstRef right   // arc to compare
);

Return value

  • If yes: true
  • Otherwise: false

Reference

operator==


SFXArc::operator+=
Add the specified value to the coordinates of the center and move this arc.
[ public ]
SFXArcRef operator+=(
    SFXGridConstRef param   // value to add to the coordinates of the center
);

Reference

SFXArc::AddOrigin | operator+


operator+
Add the specified value to the coordinates of the center of an arc and move this arc.
[ public, friend ]
SFXArc operator+(
    SFXArcConstRef left     // source arc
    SFXGridConstRef right   // value to add to the coordinates of the center of the arc
);

Reference

SFXArc::Offset | SFXArc::AddOrigin


SFXArc::AtomRec
Structure that represents an arc.
struct AtomRec {
  SFXCircle::AtomRec  circle;  // circle
  SInt16              start;   // beginning angle
  SInt16              arc;     // extent angle
};