Commit 59eb3ef3 authored by Andrea Cimitan's avatar Andrea Cimitan Committed by Benjamin Otte

shadow: add blur to text-shadow

parent b6096861
......@@ -380,9 +380,14 @@ _gtk_css_shadow_value_paint_layout (const GtkCssValue *shadow,
cairo_rel_move_to (cr,
_gtk_css_number_value_get (shadow->hoffset, 0),
_gtk_css_number_value_get (shadow->voffset, 0));
cr = gtk_css_shadow_value_start_drawing (shadow, cr);
gdk_cairo_set_source_rgba (cr, _gtk_css_rgba_value_get_rgba (shadow->color));
_gtk_pango_fill_layout (cr, layout);
cr = gtk_css_shadow_value_finish_drawing (shadow, cr);
cairo_rel_move_to (cr,
- _gtk_css_number_value_get (shadow->hoffset, 0),
- _gtk_css_number_value_get (shadow->voffset, 0));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment