[cairo] Stroke adjust for filled rectangles?

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Fri Jul 24 18:40:01 PDT 2015


On Fri, 24 Jul 2015 13:38:04 -0300, Gonzalo Odiard wrote:

> I don't know if is useful in this case, but I had a problem
> related to the way the borders and fill of the shapes and was solved
> using push_group and pop_group_to_source.
> I don't know if that apply to pdf files neither.
> Examples here
> http://godiard.blogspot.com.ar/2013/05/nice-cairo-trick-to-draw-transparent.html

Another way is with a recording surface
<http://default-cube.deviantart.com/art/Figure-Alpha-548702174>,
<https://github.com/ldo/qahirah_examples/blob/master/figure_alpha>.


More information about the cairo mailing list