|
@ -325,7 +325,7 @@ void |
|
|
Context2d::blur(cairo_surface_t *surface, int radius) { |
|
|
Context2d::blur(cairo_surface_t *surface, int radius) { |
|
|
// Steve Hanov, 2009
|
|
|
// Steve Hanov, 2009
|
|
|
// Released into the public domain.
|
|
|
// Released into the public domain.
|
|
|
|
|
|
--radius; |
|
|
// get width, height
|
|
|
// get width, height
|
|
|
int width = cairo_image_surface_get_width( surface ); |
|
|
int width = cairo_image_surface_get_width( surface ); |
|
|
int height = cairo_image_surface_get_height( surface ); |
|
|
int height = cairo_image_surface_get_height( surface ); |
|
|