Next: , Previous: ClutterBehaviourRotate, Up: Top


11 ClutterBehaviourScale

A behaviour controlling scale

11.1 Overview

A <clutter-behaviour-scale> interpolates actors size between two values.

11.2 Usage

— Class: <clutter-behaviour-scale>

Derives from <clutter-behaviour>.

This class defines the following slots:

x-scale-start
Initial scale on the X axis
y-scale-start
Initial scale on the Y axis
x-scale-end
Final scale on the X axis
y-scale-end
Final scale on the Y axis
— Function: clutter-behaviour-scale-new (alpha <clutter-alpha>) (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double)   (ret <clutter-behaviour>)

Creates a new <clutter-behaviour-scale> instance.

alpha
a <clutter-alpha>
x-scale-start
initial scale factor on the X axis
y-scale-start
initial scale factor on the Y axis
x-scale-end
final scale factor on the X axis
y-scale-end
final scale factor on the Y axis
ret
the newly created <clutter-behaviour-scale>

Since 0.2

— Function: clutter-behaviour-scale-set-bounds (self <clutter-behaviour-scale>) (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double)
— Method: set-bounds

Sets the bounds used by scale behaviour.

scale
a <clutter-behaviour-scale>
x-scale-start
initial scale factor on the X axis
y-scale-start
initial scale factor on the Y axis
x-scale-end
final scale factor on the X axis
y-scale-end
final scale factor on the Y axis

Since 0.6

— Function: clutter-behaviour-scale-get-bounds (self <clutter-behaviour-scale>)   (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double)
— Method: get-bounds

Retrieves the bounds used by scale behaviour.

scale
a <clutter-behaviour-scale>
x-scale-start
return location for the initial scale factor on the X axis, or ‘#f
y-scale-start
return location for the initial scale factor on the Y axis, or ‘#f
x-scale-end
return location for the final scale factor on the X axis, or ‘#f
y-scale-end
return location for the final scale factor on the Y axis, or ‘#f

Since 0.4