File: ClutterBehaviourRotate.xs

package info (click to toggle)
clutter-perl 0.8.0.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 652 kB
  • ctags: 42
  • sloc: perl: 645; ansic: 30; makefile: 3
file content (41 lines) | stat: -rw-r--r-- 1,409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "clutterperl.h"

MODULE = Clutter::Behaviour::Rotate PACKAGE = Clutter::Behaviour::Rotate PREFIX = clutter_behaviour_rotate_

ClutterBehaviour_noinc *
clutter_behaviour_rotate_new (class, alpha=NULL, axis, direction, angle_begin, angle_end)
        ClutterAlpha_ornull *alpha
        ClutterRotateAxis axis
        ClutterRotateDirection direction
        gdouble angle_begin
        gdouble angle_end
    C_ARGS:
        alpha, axis, direction, angle_begin, angle_end

ClutterRotateAxis
clutter_behaviour_rotate_get_axis (ClutterBehaviourRotate *rotate)

ClutterRotateDirection
clutter_behaviour_rotate_get_direction (ClutterBehaviourRotate *rotate)

=for apidoc
=for signature (angle_begin, angle_end) = $rotate->get_bounds
=cut
void
clutter_behaviour_rotate_get_bounds (ClutterBehaviourRotate *rotate)
    PREINIT:
        gdouble angle_begin, angle_end;
    PPCODE:
        clutter_behaviour_rotate_get_bounds (rotate, &angle_begin, &angle_end);
        EXTEND (SP, 2);
        PUSHs (sv_2mortal (newSVnv (angle_begin)));
        PUSHs (sv_2mortal (newSVnv (angle_end)));

void
clutter_behaviour_rotate_set_axis (ClutterBehaviourRotate *rotate, ClutterRotateAxis axis)

void
clutter_behaviour_rotate_set_direction (ClutterBehaviourRotate *rotate, ClutterRotateDirection direction)

void
clutter_behaviour_rotate_set_bounds (ClutterBehaviourRotate *rotate, gdouble angle_begin, gdouble angle_end)