summaryrefslogtreecommitdiff
path: root/gtk/gtkcairoblurprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-03-20 14:56:42 +0100
committerAlexander Larsson <alexl@redhat.com>2015-03-21 21:39:15 +0100
commit8e032622c864c5259786a72ca1b811603ae9ca09 (patch)
tree0e6fc7d782608d8f902740a792b4fb50b02ddf19 /gtk/gtkcairoblurprivate.h
parent967cb56275a139942c9df78f46134d3a4e4dd1eb (diff)
downloadgtk+-8e032622c864c5259786a72ca1b811603ae9ca09.tar.gz
box-shadow: For top/bottom and left/right parts, repeat a single line
Since these part really are the same in all of the x or y direction and we don't blur in that direction we can just blur one line and repeat it during drawing. https://bugzilla.gnome.org/show_bug.cgi?id=746468
Diffstat (limited to 'gtk/gtkcairoblurprivate.h')
-rw-r--r--gtk/gtkcairoblurprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcairoblurprivate.h b/gtk/gtkcairoblurprivate.h
index 970c0826d8..68126d3b5b 100644
--- a/gtk/gtkcairoblurprivate.h
+++ b/gtk/gtkcairoblurprivate.h
@@ -32,7 +32,8 @@ G_BEGIN_DECLS
typedef enum {
GTK_BLUR_NONE = 0,
GTK_BLUR_X = 1<<0,
- GTK_BLUR_Y = 1<<1
+ GTK_BLUR_Y = 1<<1,
+ GTK_BLUR_REPEAT = 1<<2
} GtkBlurFlags;
void _gtk_cairo_blur_surface (cairo_surface_t *surface,