Avlee's Home Page

Cairo win32 msvc project? 

The MSVC project of the cairo library(version 1.4.10)

 This is the VS2003.net solution for the cairo library.

You can use this solution to build the win32 dlls of the cairo library.
Features included are:

  •     image surface(PNG, need the libpng library.)
  •     win32 surface
  •     win32 fonts
  •     SVG surface
  •     PDF surface
  •     PS surface



Only the project files you can download from here, please get the origin source code of the cairo library from the site http://www.cairographics.org.

The current solution is build with cairo 1.4.10, this is a stable version since 1.2.4.
Download the msvc project files for the cairo 1.4.10 from here:  cairo-1.4.10-msvc.zip .

Usage:

   1. Copy the "msvc" folder into the root folder the cairo library;
   2. Copy the "cairo-features.h" file into the "src" folder;
   3. Open the project file to build.

 When you using the cairo library in the win32 project, may be need to include the below header files:

   cairo-win32.h (required)
   cairo-pdf.h
   cairo-ps.h
   cairo-svg.h