<br><br><div class="gmail_quote">On Dec 16, 2007 7:27 PM, Baz <<a href="mailto:brian.ewins@gmail.com">brian.ewins@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
what's wrong with<br>cairo_set_source_rgba (cr, 0, 0, 0, 0);<br>cairo_fill (cr);<br><br>which should emit "fill: rgb(0,0,0); fill-opacity: 0" instead of<br>"fill: none". The path will be transparent but used for flow
<br>calculations.<br><div><div></div><div class="Wj3C7c"><br></div></div></blockquote></div><br>I don't want to picky, this surely works for very most cases. However:<br>- it requires PDF 1.4<br>- probably is slower to render
<br>- doesn't work that well for lines and open curves because a line has a width which might grow the bbox<br>- that "rgb(0,0,0)" makes no sence for "invisible"<br><br>But as I said, this works for most practical purposes, so thank you!
<br>