[sugar] stroking svgs
Thu Nov 9 00:28:25 EST 2006
On Wed, 2006-11-08 at 22:48 -0500, Erik Blankinship wrote:
> When using cairo and rsvg to display an svg, such as stock-buddy.svg,
> how do you stroke and fill the svg with different colors?
> I am assuming this is what you are doing to make the multicolor
> buddies and icons in sugar. Is this right?
> My naive attempts were to set colors in my cairo context before and/or
> after calling msvg.render_cairo( ctx ), but to no avail.
Take a look at sugar/services/nm/bubble.py, do_paint_below_children().
> Sugar mailing list
> Sugar at laptop.org
More information about the Sugar-devel