titlepage"><div><div><h2 class="title" style="clear: both">
<a name="bindings-streams"></a>Streams and File I/O</h2></div></div></div>
<p>
      Various places in the cairo API deal with reading and writing
      data, whether from and to files, or to other sources and
      destinations. In these cases, what is typically provided in the
      C API is a simple version that just takes a filename, and a
      complex version that takes a callback function.
      An example is the PNG handling functions:
    