|
|
@ -1178,6 +1178,18 @@ Context2d::fill() { |
|
|
|
: cairo_fill(_context); |
|
|
|
} |
|
|
|
|
|
|
|
/*
|
|
|
|
* Stroke and apply shadow. |
|
|
|
*/ |
|
|
|
|
|
|
|
void |
|
|
|
Context2d::stroke() { |
|
|
|
setSourceRGBA(state->stroke); |
|
|
|
hasShadow() |
|
|
|
? shadow(cairo_stroke) |
|
|
|
: cairo_stroke(_context); |
|
|
|
} |
|
|
|
|
|
|
|
/*
|
|
|
|
* Apply shadow with the given draw fn. |
|
|
|
*/ |
|
|
|