Show
Ignore:
Timestamp:
11/03/07 22:54:06 (5 years ago)
Author:
DRK
Message:

* Updated the bindings to support cairo 1.2 and cairo 1.4. Support for these can be enabled with the cairo_1_2 and cairo_1_4 version identifiers.
* Added pdf, ps and svg support.
* Updated the build script appropriately.
* Note that cairooo is not likely to receive any further updates in its current form. It is being forked and rewritten for Tango's graphics package, although a port back to Phobos isn't out of the question.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cairo/README.rst

    r119 r228  
    5050Use the ``--help`` switch for full usage information. 
    5151 
     52Also, please note that if you are building static libraries that these 
     53libraries only compile for one particular version of cairo at a time.  To 
     54select which version of the cairo API you want to compile for, you need to use 
     55the following additional arguments to the build script: 
     56 
     57* cairo 1.0: no arguments needed. 
     58* cairo 1.2: ``+--version=cairo_1_2`` 
     59* cairo 1.4: ``+--version=cairo_1_4`` 
     60 
     61You will also need to specify the same version identifier when you compile 
     62your programs. 
     63 
    5264cairooo binding 
    5365--------------- 
     
    5971``cairooo-build.d`` script, which will build them to the ``lib`` directory. 
    6072Usage is mostly the same as using ``cairo-build.d`` (see above). 
     73 
     74Note that cairooo currently does not support cairo 1.2 or 1.4. 
    6175 
    6276cairo snippets 
     
    159173exception which can be caught and dealt with. 
    160174 
     175To select a particular version of the cairo library, make sure you compile 
     176with an appropriate version flag: 
     177 
     178* cairo 1.0: no version flag necessary. 
     179* cairo 1.2: --version=cairo_1_2. 
     180* cairo 1.4: --version=cairo_1_4. 
     181 
    161182From there, just start using the cairo API as you would from C.  The cairo 
    162183website contains a collection of `example snippets`_ in C, and this binding