blob: 1be943aaea252f90067e5b4d434447745551a790 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/*
* Copyright (C) 2020 Endless OS Foundation, LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CLUTTER_PICK_STACK_PRIVATE_H
#define CLUTTER_PICK_STACK_PRIVATE_H
#include <glib-object.h>
#include "clutter-macros.h"
#include "clutter-stage-view.h"
G_BEGIN_DECLS
#define CLUTTER_TYPE_PICK_STACK (clutter_pick_stack_get_type ())
typedef struct _ClutterPickStack ClutterPickStack;
GType clutter_pick_stack_get_type (void) G_GNUC_CONST;
ClutterPickStack * clutter_pick_stack_new (CoglContext *context);
ClutterPickStack * clutter_pick_stack_ref (ClutterPickStack *pick_stack);
void clutter_pick_stack_unref (ClutterPickStack *pick_stack);
void clutter_pick_stack_seal (ClutterPickStack *pick_stack);
void clutter_pick_stack_log_pick (ClutterPickStack *pick_stack,
const graphene_point_t vertices[4],
ClutterActor *actor);
void clutter_pick_stack_push_clip (ClutterPickStack *pick_stack,
const graphene_point_t vertices[4]);
void clutter_pick_stack_pop_clip (ClutterPickStack *pick_stack);
void clutter_pick_stack_push_transform (ClutterPickStack *pick_stack,
const graphene_matrix_t *transform);
void clutter_pick_stack_get_transform (ClutterPickStack *pick_stack,
graphene_matrix_t *out_transform);
void clutter_pick_stack_pop_transform (ClutterPickStack *pick_stack);
ClutterActor * clutter_pick_stack_find_actor_at (ClutterPickStack *pick_stack,
float x,
float y);
G_END_DECLS
#endif /* CLUTTER_PICK_STACK_PRIVATE_H */
|