pixelcache: add getter for extra width and height.

This commit is contained in:
Christian Hergert
2013-09-06 15:49:50 -07:00
parent 0eb8479256
commit 7fabc94d3c
2 changed files with 15 additions and 0 deletions

View File

@ -41,6 +41,9 @@ void _gtk_pixel_cache_draw (GtkPixelCache *cache,
cairo_rectangle_int_t *canvas_rect,
GtkPixelCacheDrawFunc draw,
gpointer user_data);
void _gtk_pixel_cache_get_extra_size (GtkPixelCache *cache,
guint *extra_width,
guint *extra_height);
void _gtk_pixel_cache_set_extra_size (GtkPixelCache *cache,
guint extra_width,
guint extra_height);