gtkrenderborderprivate.h 2.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* GTK - The GIMP Toolkit
 * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
 * Copyright (C) 2011 Red Hat, Inc.
 *
 * Authors: Carlos Garnacho <carlosg@gnome.org>
 *          Cosimo Cecchi <cosimoc@gnome.org>
 *
 * 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
Javier Jardón's avatar
Javier Jardón committed
19
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 21
 */

22 23
#ifndef __GTK_RENDER_BORDER_H__
#define __GTK_RENDER_BORDER_H__
24

25
#include "gtkborder.h"
26
#include "gtkcssimageprivate.h"
27
#include "gtkcssvalueprivate.h"
28 29 30

G_BEGIN_DECLS

31 32 33 34 35 36 37 38 39 40 41 42 43 44
void    gtk_css_style_render_border     (GtkCssStyle            *style,
                                         cairo_t                *cr,
                                         gdouble                 x,
                                         gdouble                 y,
                                         gdouble                 width,
                                         gdouble                 height,
                                         guint                   hidden_side,
                                         GtkJunctionSides        junction);
void    gtk_css_style_render_outline    (GtkCssStyle            *style,
                                         cairo_t                *cr,
                                         gdouble                 x,
                                         gdouble                 y,
                                         gdouble                 width,
                                         gdouble                 height);
45 46 47

G_END_DECLS

48
#endif /* __GTK_RENDER_BORDER_H__ */