diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-22 16:50:39 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-22 18:10:21 -0400 |
commit | a44d6816d3c20748deefa45a0c3b5ace146e4540 (patch) | |
tree | 8db628c4ece87bb14f05fa90c0d9d61d5f41c83c /gtk/gtkcssshadowvalueprivate.h | |
parent | 7846bedebd8826135ffb076bbe655365b538aeb5 (diff) | |
download | gtk+-a44d6816d3c20748deefa45a0c3b5ace146e4540.tar.gz |
cssshadow: add a method to get the size of a shadows value
The method returns the size of each side of a GtkCssShadowsValue.
Diffstat (limited to 'gtk/gtkcssshadowvalueprivate.h')
-rw-r--r-- | gtk/gtkcssshadowvalueprivate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcssshadowvalueprivate.h b/gtk/gtkcssshadowvalueprivate.h index 0688fc3301..e46b303631 100644 --- a/gtk/gtkcssshadowvalueprivate.h +++ b/gtk/gtkcssshadowvalueprivate.h @@ -36,6 +36,12 @@ GtkCssValue * _gtk_css_shadow_value_parse (GtkCssParser gboolean _gtk_css_shadow_value_get_inset (const GtkCssValue *shadow); +void _gtk_css_shadow_value_get_geometry (const GtkCssValue *shadow, + gdouble *hoffset, + gdouble *voffset, + gdouble *radius, + gdouble *spread); + void _gtk_css_shadow_value_paint_layout (const GtkCssValue *shadow, cairo_t *cr, PangoLayout *layout); |