[cairo] How to draw an invisible rectangle?

Tuom Larsen tuom.larsen at gmail.com
Sun Dec 16 09:57:58 PST 2007


On Dec 16, 2007 6:52 PM, Dirk Schönberger <dirk.schoenberger at sz-online.de>
wrote:

> >> The most obvious way to do this would be to set a source surface to
> "NULL",
> >> or to a special Null-Surface. The former variant may lead to unexpected
> >> behaviour, because NULL may be treated as an invalid value.
>
> > Um, what is Null-Surface? How? Can't find it in API reference.
> > I'm running pycairo 1.2.6, if that make things a bit cleaner.
>
> I don't think a Null-Surface exists yet ;)
> It is just the thing which I feel it should be added to implement your
> feature.
>
> Regards
> Dirk



Or:
stroke(None)

Back to my original question, is this even possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20071216/c203ddc8/attachment.htm 


More information about the cairo mailing list