mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
35 lines
1.3 KiB
C
35 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2019 Red Hat Inc.
|
|
*
|
|
* 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/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "clutter/clutter-pick-context.h"
|
|
#include "clutter/clutter-pick-stack-private.h"
|
|
|
|
ClutterPickContext *
|
|
clutter_pick_context_new_for_view (ClutterStageView *view,
|
|
ClutterPickMode mode,
|
|
const graphene_point3d_t *point,
|
|
const graphene_ray_t *ray);
|
|
|
|
ClutterPickStack *
|
|
clutter_pick_context_steal_stack (ClutterPickContext *pick_context);
|
|
|
|
gboolean
|
|
clutter_pick_context_intersects_box (ClutterPickContext *pick_context,
|
|
const graphene_box_t *box);
|