#include <behaviour-ellipse.h>
Public Member Functions | |
virtual | ~BehaviourEllipse () |
ClutterBehaviourEllipse * | gobj () |
Provides access to the underlying C GObject. | |
const ClutterBehaviourEllipse * | gobj () const |
Provides access to the underlying C GObject. | |
ClutterBehaviourEllipse * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | set_center (int x, int y) |
Sets the center of the elliptical path to the point represented by knot. | |
void | get_center (int &x, int &y) const |
Gets the center of the elliptical path path. | |
void | set_height (int height) |
Sets the height of the elliptical path. | |
int | get_height () const |
Gets the height of the elliptical path. | |
void | set_width (int width) |
Sets the width of the elliptical path. | |
int | get_width () const |
Gets the width of the elliptical path. | |
void | set_angle_start (double angle_start) |
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360). | |
double | get_angle_start () const |
Gets the angle at which movements starts. | |
void | set_angle_end (double angle_end) |
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360). | |
double | get_angle_end () const |
Gets the at which movements ends. | |
void | set_angle_tilt (RotateAxis axis, double angle_tilt) |
Sets the angle at which the ellipse should be tilted around it's center. | |
double | get_angle_tilt (RotateAxis axis) const |
Gets the tilt of the ellipse around the center in the given axis. | |
void | set_tilt (double angle_tilt_x, double angle_tilt_y, double angle_tilt_z) |
Sets the angles at which the ellipse should be tilted around it's center. | |
void | get_tilt (double &angle_tilt_x, double &angle_tilt_y, double &angle_tilt_z) const |
Gets the tilt of the ellipse around the center in Y axis. | |
void | set_angle_startx (Fixed angle_start) |
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360). | |
Fixed | get_angle_startx () const |
Gets the angle at which movements starts. | |
void | set_angle_endx (Fixed angle_end) |
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360). | |
Fixed | get_angle_endx () const |
Gets the angle at which movements ends. | |
void | set_angle_tiltx (RotateAxis axis, Fixed angle_tilt) |
Sets the angle at which the ellipse should be tilted around it's center. | |
Fixed | get_angle_tiltx (RotateAxis axis) const |
Gets the tilt of the ellipse around the center in the given axis. | |
void | set_tiltx (Fixed angle_tilt_x, Fixed angle_tilt_y, Fixed angle_tilt_z) |
Sets the angle at which the ellipse should be tilted around it's center. | |
void | get_tiltx (Fixed &angle_tilt_x, Fixed &angle_tilt_y, Fixed &angle_tilt_z) const |
Gets the tilt of the ellipse around the center in Y axis. | |
void | set_direction (RotateDirection direction) |
Sets the rotation direction used by the ellipse behaviour. | |
RotateDirection | get_direction () const |
Retrieves the Clutter::RotateDirection used by the ellipse behaviour. | |
Glib::PropertyProxy< double > | property_angle_end () |
Final angle. | |
Glib::PropertyProxy_ReadOnly < double > | property_angle_end () const |
Final angle. | |
Glib::PropertyProxy< double > | property_angle_start () |
Initial angle. | |
Glib::PropertyProxy_ReadOnly < double > | property_angle_start () const |
Initial angle. | |
Glib::PropertyProxy< double > | property_angle_tilt_x () |
Tilt of the ellipse around x axis. | |
Glib::PropertyProxy_ReadOnly < double > | property_angle_tilt_x () const |
Tilt of the ellipse around x axis. | |
Glib::PropertyProxy< double > | property_angle_tilt_y () |
Tilt of the ellipse around y axis. | |
Glib::PropertyProxy_ReadOnly < double > | property_angle_tilt_y () const |
Tilt of the ellipse around y axis. | |
Glib::PropertyProxy< Knot > | property_center () |
Center of ellipse. | |
Glib::PropertyProxy_ReadOnly < Knot > | property_center () const |
Center of ellipse. | |
Glib::PropertyProxy < RotateDirection > | property_direction () |
Direction of rotation. | |
Glib::PropertyProxy_ReadOnly < RotateDirection > | property_direction () const |
Direction of rotation. | |
Glib::PropertyProxy< int > | property_height () |
Height of ellipse. | |
Glib::PropertyProxy_ReadOnly< int > | property_height () const |
Height of ellipse. | |
Glib::PropertyProxy< int > | property_width () |
Width of ellipse. | |
Glib::PropertyProxy_ReadOnly< int > | property_width () const |
Width of ellipse. | |
Static Public Member Functions | |
static Glib::RefPtr < BehaviourEllipse > | create (const Glib::RefPtr< Alpha > &alpha, int x, int y, int width, int height, RotateDirection direction, double begin, double end) |
static Glib::RefPtr < BehaviourEllipse > | create (const Glib::RefPtr< Alpha > &alpha, int x, int y, int width, int height, RotateDirection direction, Fixed begin, Fixed end) |
Protected Member Functions | |
BehaviourEllipse (const Glib::RefPtr< Alpha > &alpha, int x, int y, int width, int height, RotateDirection direction, double begin, double end) | |
BehaviourEllipse (const Glib::RefPtr< Alpha > &alpha, int x, int y, int width, int height, RotateDirection direction, Fixed begin, Fixed end) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < Clutter::BehaviourEllipse > | wrap (ClutterBehaviourEllipse *object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Clutter::BehaviourEllipse::~BehaviourEllipse | ( | ) | [virtual] |
Clutter::BehaviourEllipse::BehaviourEllipse | ( | const Glib::RefPtr< Alpha > & | alpha, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
RotateDirection | direction, | |||
double | begin, | |||
double | end | |||
) | [explicit, protected] |
Clutter::BehaviourEllipse::BehaviourEllipse | ( | const Glib::RefPtr< Alpha > & | alpha, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
RotateDirection | direction, | |||
Fixed | begin, | |||
Fixed | end | |||
) | [explicit, protected] |
ClutterBehaviourEllipse* Clutter::BehaviourEllipse::gobj | ( | ) | [inline] |
const ClutterBehaviourEllipse* Clutter::BehaviourEllipse::gobj | ( | ) | const [inline] |
ClutterBehaviourEllipse* Clutter::BehaviourEllipse::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Clutter::Behaviour.
static Glib::RefPtr<BehaviourEllipse> Clutter::BehaviourEllipse::create | ( | const Glib::RefPtr< Alpha > & | alpha, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
RotateDirection | direction, | |||
double | begin, | |||
double | end | |||
) | [static] |
static Glib::RefPtr<BehaviourEllipse> Clutter::BehaviourEllipse::create | ( | const Glib::RefPtr< Alpha > & | alpha, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height, | |||
RotateDirection | direction, | |||
Fixed | begin, | |||
Fixed | end | |||
) | [static] |
void Clutter::BehaviourEllipse::set_center | ( | int | x, | |
int | y | |||
) |
Sets the center of the elliptical path to the point represented by knot.
Since: 0.4
x | X coordinace of centre. | |
y | Y coordinace of centre. |
void Clutter::BehaviourEllipse::get_center | ( | int & | x, | |
int & | y | |||
) | const |
Gets the center of the elliptical path path.
Since: 0.4
x | Location to store the x coordinace of the center, or 0 . | |
y | Location to store the y coordinace of the center, or 0 . |
void Clutter::BehaviourEllipse::set_height | ( | int | height | ) |
Sets the height of the elliptical path.
Since: 0.4
height | Height of the ellipse. |
int Clutter::BehaviourEllipse::get_height | ( | ) | const |
Gets the height of the elliptical path.
void Clutter::BehaviourEllipse::set_width | ( | int | width | ) |
Sets the width of the elliptical path.
Since: 0.4
width | Width of the ellipse. |
int Clutter::BehaviourEllipse::get_width | ( | ) | const |
Gets the width of the elliptical path.
void Clutter::BehaviourEllipse::set_angle_start | ( | double | angle_start | ) |
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360).
Since: 0.6
angle_start | Angle at which movement starts in degrees, between 0 and 360. |
double Clutter::BehaviourEllipse::get_angle_start | ( | ) | const |
Gets the angle at which movements starts.
void Clutter::BehaviourEllipse::set_angle_end | ( | double | angle_end | ) |
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360).
Since: 0.4
angle_end | Angle at which movement ends in degrees, between 0 and 360. |
double Clutter::BehaviourEllipse::get_angle_end | ( | ) | const |
Gets the at which movements ends.
void Clutter::BehaviourEllipse::set_angle_tilt | ( | RotateAxis | axis, | |
double | angle_tilt | |||
) |
Sets the angle at which the ellipse should be tilted around it's center.
Since: 0.4
axis | A Clutter::RotateAxis. | |
angle_tilt | Tilt of the elipse around the center in the given axis in degrees. |
double Clutter::BehaviourEllipse::get_angle_tilt | ( | RotateAxis | axis | ) | const |
Gets the tilt of the ellipse around the center in the given axis.
axis | A Clutter::RotateAxis. |
void Clutter::BehaviourEllipse::set_tilt | ( | double | angle_tilt_x, | |
double | angle_tilt_y, | |||
double | angle_tilt_z | |||
) |
Sets the angles at which the ellipse should be tilted around it's center.
Since: 0.4
angle_tilt_x | Tilt of the elipse around the center in X axis in degrees. | |
angle_tilt_y | Tilt of the elipse around the center in Y axis in degrees. | |
angle_tilt_z | Tilt of the elipse around the center in Z axis in degrees. |
void Clutter::BehaviourEllipse::get_tilt | ( | double & | angle_tilt_x, | |
double & | angle_tilt_y, | |||
double & | angle_tilt_z | |||
) | const |
Gets the tilt of the ellipse around the center in Y axis.
Since: 0.4
angle_tilt_x | Return location for tilt angle on the X axis, or 0 . | |
angle_tilt_y | Return location for tilt angle on the Y axis, or 0 . | |
angle_tilt_z | Return location for tilt angle on the Z axis, or 0 . |
void Clutter::BehaviourEllipse::set_angle_startx | ( | Fixed | angle_start | ) |
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360).
Since: 0.6
angle_start | An angle, as Clutter::Fixed, at which movement starts, in degrees, between 0 and 360. |
Fixed Clutter::BehaviourEllipse::get_angle_startx | ( | ) | const |
void Clutter::BehaviourEllipse::set_angle_endx | ( | Fixed | angle_end | ) |
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360).
Since: 0.4
angle_end | Angle, as Clutter::Fixed, at which movement ends, in degrees, between 0 and 360. |
Fixed Clutter::BehaviourEllipse::get_angle_endx | ( | ) | const |
void Clutter::BehaviourEllipse::set_angle_tiltx | ( | RotateAxis | axis, | |
Fixed | angle_tilt | |||
) |
Sets the angle at which the ellipse should be tilted around it's center.
Since: 0.4
axis | A Clutter::RoateAxis. | |
angle_tilt | Tilt, as Clutter::Fixed, of the elipse around the center in the given axis in degrees. |
Fixed Clutter::BehaviourEllipse::get_angle_tiltx | ( | RotateAxis | axis | ) | const |
Gets the tilt of the ellipse around the center in the given axis.
axis | A Clutter::RotateAxis. |
void Clutter::BehaviourEllipse::set_tiltx | ( | Fixed | angle_tilt_x, | |
Fixed | angle_tilt_y, | |||
Fixed | angle_tilt_z | |||
) |
Sets the angle at which the ellipse should be tilted around it's center.
Since: 0.4
angle_tilt_x | Tilt of the elipse in degrees, as Clutter::Fixed, around the center in X axis. | |
angle_tilt_y | Tilt of the elipse in degrees, as Clutter::Fixed, around the center in Y axis. | |
angle_tilt_z | Tilt of the elipse in degrees, as Clutter::Fixed, around the center in Z axis. |
void Clutter::BehaviourEllipse::get_tiltx | ( | Fixed & | angle_tilt_x, | |
Fixed & | angle_tilt_y, | |||
Fixed & | angle_tilt_z | |||
) | const |
Gets the tilt of the ellipse around the center in Y axis.
Since: 0.4
angle_tilt_x | Location for tilt of the elipse, as Clutter::Fixed, around the center in X axis in degrees, or 0 . | |
angle_tilt_y | Location for tilt of the elipse, as Clutter::Fixed, around the center in Y axis in degress, or 0 . | |
angle_tilt_z | Location for tilt of the elipse, as Clutter::Fixed, around the center in Z axis in degrees, or 0 . |
void Clutter::BehaviourEllipse::set_direction | ( | RotateDirection | direction | ) |
Sets the rotation direction used by the ellipse behaviour.
Since: 0.4
direction | The rotation direction. |
RotateDirection Clutter::BehaviourEllipse::get_direction | ( | ) | const |
Retrieves the Clutter::RotateDirection used by the ellipse behaviour.
Glib::PropertyProxy<double> Clutter::BehaviourEllipse::property_angle_end | ( | ) |
Final angle.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Clutter::BehaviourEllipse::property_angle_end | ( | ) | const |
Final angle.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Clutter::BehaviourEllipse::property_angle_start | ( | ) |
Initial angle.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Clutter::BehaviourEllipse::property_angle_start | ( | ) | const |
Initial angle.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Clutter::BehaviourEllipse::property_angle_tilt_x | ( | ) |
Tilt of the ellipse around x axis.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Clutter::BehaviourEllipse::property_angle_tilt_x | ( | ) | const |
Tilt of the ellipse around x axis.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Clutter::BehaviourEllipse::property_angle_tilt_y | ( | ) |
Tilt of the ellipse around y axis.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Clutter::BehaviourEllipse::property_angle_tilt_y | ( | ) | const |
Tilt of the ellipse around y axis.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Knot> Clutter::BehaviourEllipse::property_center | ( | ) |
Center of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Knot> Clutter::BehaviourEllipse::property_center | ( | ) | const |
Center of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<RotateDirection> Clutter::BehaviourEllipse::property_direction | ( | ) |
Direction of rotation.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<RotateDirection> Clutter::BehaviourEllipse::property_direction | ( | ) | const |
Direction of rotation.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Clutter::BehaviourEllipse::property_height | ( | ) |
Height of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Clutter::BehaviourEllipse::property_height | ( | ) | const |
Height of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Clutter::BehaviourEllipse::property_width | ( | ) |
Width of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Clutter::BehaviourEllipse::property_width | ( | ) | const |
Width of ellipse.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::RefPtr< Clutter::BehaviourEllipse > wrap | ( | ClutterBehaviourEllipse * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |