[cairo] Cairo is non-deterministic?

Lawrence Oluyede l.oluyede at gmail.com
Mon Jan 2 06:40:23 PST 2006


>
> save()
> translate(*self.border_pos)
> translate(200, 30)
>
> # draw up
> save()
> new_path()
> rel_line_to(0, -100)
> stroke()
> restore()
>
> # draw line
> save()
> new_path()
> rel_line_to(...) # draw your line bits
> stroke()
> restore()
>
> Note that the new_path()'s aren't strictly necessary, but it's good
> defensive programming in case someone left a path in the context
> you're drawing to.



This  doesn't work at all :(




--
Lawrence
http://www.oluyede.org/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060102/d6948722/attachment.html


More information about the cairo mailing list