1/* GTK - The GIMP Toolkit
2 * Copyright (C) 2014,2015 Benjamin Otte
3 *
4 * Authors: Benjamin Otte <otte@gnome.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __GTK_RENDER_ICON_PRIVATE_H__
21#define __GTK_RENDER_ICON_PRIVATE_H__
22
23#include <glib-object.h>
24#include <cairo.h>
25#include <gsk/gsk.h>
26
27#include "gtkcsstypesprivate.h"
28#include "gtktypes.h"
29
30G_BEGIN_DECLS
31
32void gtk_css_style_snapshot_icon (GtkCssStyle *style,
33 GtkSnapshot *snapshot,
34 double width,
35 double height);
36
37void gtk_css_style_snapshot_icon_paintable (GtkCssStyle *style,
38 GtkSnapshot *snapshot,
39 GdkPaintable *paintable,
40 double width,
41 double height);
42
43void gtk_css_style_render_icon_get_extents (GtkCssStyle *style,
44 GdkRectangle *extents,
45 int x,
46 int y,
47 int width,
48 int height);
49
50G_END_DECLS
51
52#endif /* __GTK_RENDER_ICON_PRIVATE_H__ */
53

source code of gtk/gtk/gtkrendericonprivate.h