cluttermm  1.17.3
New API in cluttermm 1.12
Member Clutter::Actor::get_content_repeat () const
Returns
The content repeat policy.
Member Clutter::Actor::get_pivot_point (float& pivot_x, float& pivot_y) const
Parameters
pivot_xReturn location for the normalized X coordinate of the pivot point, or 0.
pivot_yReturn location for the normalized Y coordinate of the pivot point, or 0.
Member Clutter::Actor::get_pivot_point_z () const
Member Clutter::Actor::get_rotation_angle (RotateAxis axis) const
Parameters
axisThe axis of the rotation.
Returns
The angle of rotation, in degrees.
Member Clutter::Actor::get_scale_z () const
Returns
The scaling factor along the Z axis.
Member Clutter::Actor::get_translation (float& translate_x, float& translate_y, float& translate_z) const
Parameters
translate_xReturn location for the X component of the translation, or 0.
translate_yReturn location for the Y component of the translation, or 0.
translate_zReturn location for the Z component of the translation, or 0.
Member Clutter::Actor::get_x_expand () const
Returns
true if the actor has been set to expand.
Member Clutter::Actor::get_y_expand () const
Returns
true if the actor has been set to expand.
Member Clutter::Actor::get_z_position () const
Returns
The position on the Z axis.
Member Clutter::Actor::needs_expand (Orientation orientation) const
Parameters
orientationThe direction of expansion.
Returns
true if the actor should expand.
Member Clutter::Actor::set_child_transform (const Matrix& transform)
Parameters
transformA Clutter::Matrix, or 0.
Member Clutter::Actor::set_content_repeat (ContentRepeat repeat)
Parameters
repeatThe repeat policy.
Member Clutter::Actor::set_pivot_point (float x, float y)
Parameters
pivot_xThe normalized X coordinate of the pivot point.
pivot_yThe normalized Y coordinate of the pivot point.
Member Clutter::Actor::set_pivot_point_z (float pivot_z)
Parameters
pivot_zThe Z coordinate of the actor's pivot point.
Member Clutter::Actor::set_rotation_angle (RotateAxis axis, double angle)
Parameters
axisThe axis to set the angle one.
angleThe angle of rotation, in degrees.
Member Clutter::Actor::set_scale_z (double scale_z)
Parameters
scale_zThe scaling factor along the Z axis.
Member Clutter::Actor::set_transform (const Matrix& transform)
Parameters
transformA Clutter::Matrix, or 0 to unset a custom transformation.
Member Clutter::Actor::set_translation (float translate_x, float translate_y, float translate_z)
Parameters
translate_xThe translation along the X axis.
translate_yThe translation along the Y axis.
translate_zThe translation along the Z axis.
Member Clutter::Actor::set_x_expand (bool expand=true)
Parameters
expandWhether the actor should expand horizontally.
Member Clutter::Actor::set_y_expand (bool expand=true)
Parameters
expandWhether the actor should expand vertically.
Member Clutter::Actor::set_z_position (float z_position)
Parameters
z_positionThe position on the Z axis.
Member Clutter::Actor::signal_touch_event ()
Parameters
eventA Clutter::Event.
Returns
Clutter::EVENT_STOP if the event has been handled by the actor, or Clutter::EVENT_PROPAGATE to continue the emission.
Member Clutter::Actor::signal_transition_stopped ()
Parameters
nameThe name of the transition.
is_finishedWhether the transition was finished, or stopped.
Member Clutter::BoxLayout::get_orientation () const
Returns
The orientation of the layout.
Member Clutter::BoxLayout::set_orientation (Orientation orientation)
Parameters
orientationThe orientation of the Clutter::BoxLayout.
Member Clutter::GridLayout::attach (const Glib::RefPtr< Actor >& child, int left, int top, int width, int height)
Parameters
childThe Clutter::Actor to add.
leftThe column number to attach the left side of child to.
topThe row number to attach the top side of child to.
widthThe number of columns that child will span.
heightThe number of rows that child will span.
Member Clutter::GridLayout::attach_next_to (const Glib::RefPtr< Actor >& child, const Glib::RefPtr< Actor >& sibling, GridPosition side, int width, int height)
Parameters
childThe actor to add.
siblingThe child of layout that child will be placed next to, or 0 to place child at the beginning or end.
sideThe side of sibling that child is positioned next to.
widthThe number of columns that child will span.
heightThe number of rows that child will span.
Member Clutter::GridLayout::get_child_at (int left, int top)
Parameters
leftThe left edge of the cell.
topThe top edge of the cell.
Returns
The child at the given position, or 0.
Member Clutter::GridLayout::get_child_at (int left, int top) const
Parameters
leftThe left edge of the cell.
topThe top edge of the cell.
Returns
The child at the given position, or 0.
Member Clutter::GridLayout::get_column_spacing () const
Returns
The spacing between coluns of layout.
Member Clutter::GridLayout::get_orientation () const
Returns
The orientation of the layout.
Member Clutter::GridLayout::get_row_homogeneous () const
Returns
Whether all rows of layout have the same height.
Member Clutter::GridLayout::get_row_spacing () const
Returns
The spacing between rows of layout.
Member Clutter::GridLayout::insert_column (int position)
Parameters
positionThe position to insert the column at.
Member Clutter::GridLayout::insert_next_to (const Glib::RefPtr< Actor >& sibling, GridPosition side)
Parameters
siblingThe child of layout that the new row or column will be placed next to.
sideThe side of sibling that child is positioned next to.
Member Clutter::GridLayout::insert_row (int position)
Parameters
positionThe position to insert the row at.
Member Clutter::GridLayout::set_column_homogeneous (bool homogeneous=true)
Parameters
homogeneoustrue to make columns homogeneous.
Member Clutter::GridLayout::set_column_spacing (guint spacing)
Parameters
spacingThe spacing between columns of the layout, in pixels.
Member Clutter::GridLayout::set_orientation (Orientation orientation)
Parameters
orientationThe orientation of the Clutter::GridLayout.
Member Clutter::GridLayout::set_row_homogeneous (bool homogeneous=true)
Parameters
homogeneoustrue to make rows homogeneous.
Member Clutter::GridLayout::set_row_spacing (guint spacing)
Parameters
spacingThe spacing between rows of the layout, in pixels.
Member Clutter::Image::set (const Glib::Bytes& data, CoglPixelFormat pixel_format, guint width, guint height, guint row_stride)
Parameters
dataThe image data, as a Bytes.
pixel_formatThe Cogl pixel format of the image data.
widthThe width of the image data.
heightThe height of the image data.
row_strideThe length of each row inside data.
Returns
true if the image data was successfully loaded, and false otherwise.
Member Clutter::InputDevice::get_coords (ClutterEventSequence* sequence, Point& point) const
Parameters
sequenceA Clutter::EventSequence, or 0 if the device is not touch-based.
pointReturn location for the pointer or touch point.
Returns
false if the device's sequence hasn't been found, and true otherwise.
Member Clutter::KeyFrameTransition::clear ()
Member Clutter::KeyFrameTransition::get_n_key_frames () const
Returns
The number of key frames.
Member Clutter::KeyFrameTransition::set_key_frame (guint index_, double key, AnimationMode mode, const Glib::ValueBase& value)
Parameters
indexThe index of the key frame.
keyThe key of the key frame.
modeThe easing mode of the key frame.
valueA Value containing the value of the key frame.
Member Clutter::KeyFrameTransition::set_key_frames (guint index, const double* key_points)
Parameters
n_key_framesThe number of values.
key_framesAn array of keys between 0.0 and 1.0, one for each key frame.
Member Clutter::KeyFrameTransition::set_modes (const std::vector< AnimationMode >& modes)
Parameters
n_modesThe number of easing modes.
modesAn array of easing modes, one for each key frame.
Member Clutter::KeyFrameTransition::set_values (const std::vector< ValueType >& values)
Parameters
n_valuesThe number of values.
valuesAn array of values, one for each key frame.
Member Clutter::Point::distance (const Point& b, float& x_distance, float& y_distance) const
Parameters
bA Clutter::Point.
x_distanceReturn location for the horizontal distance between the points.
y_distanceReturn location for the vertical distance between the points.
Returns
The distance between the points.
Member Clutter::Rect::clamp_to_pixel ()
Member Clutter::Rect::contains_point (const Point& point) const
Parameters
pointThe point to check.
Returns
true if the point is contained by rect.
Member Clutter::Rect::contains_rect (const Rect& b) const
Parameters
bA Clutter::Rect.
Returns
true if the first rectangle contains the second.
Member Clutter::Rect::get_height () const
Returns
The height of the rectangle.
Member Clutter::Rect::get_width () const
Returns
The width of the rectangle.
Member Clutter::Rect::get_x () const
Returns
The X coordinate of the origin of the rectangle.
Member Clutter::Rect::get_y () const
Returns
The Y coordinate of the origin of the rectangle.
Member Clutter::Rect::inset (float d_x, float d_y)
Parameters
d_xAn horizontal value; a positive d_x will create an inset rectangle, and a negative value will create a larger rectangle.
d_yA vertical value; a positive d_x will create an inset rectangle, and a negative value will create a larger rectangle.
Member Clutter::Rect::intersection (const Rect& b, Rect& res) const
Parameters
bA Clutter::Rect.
resA Clutter::Rect, or 0.
Returns
true if the intersection of a and b is not empty.
Member Clutter::Rect::normalise ()
Member Clutter::Rect::offset (float d_x, float d_y)
Parameters
d_xThe horizontal offset value.
d_yThe vertical offset value.
Member Clutter::ScrollActor::get_scroll_mode () const
Returns
The scrolling mode.
Member Clutter::ScrollActor::scroll_to_point (const Point& point)
Parameters
pointA Clutter::Point.
Member Clutter::ScrollActor::scroll_to_rect (const Rect& rect)
Parameters
rectA Clutter::Rect.
Member Clutter::ScrollActor::set_scroll_mode (ScrollMode mode)
Parameters
modeA Clutter::ScrollMode.
Member Clutter::Transition::set_from (const ValueType& value)
Member Clutter::Transition::set_from_value (const Glib::ValueBase& value)
Parameters
valueA Value with the initial value of the transition.
Member Clutter::Transition::set_to (const ValueType& value)
Member Clutter::Transition::set_to_value (const Glib::ValueBase& value)
Parameters
valueA Value with the final value of the transition.