Skip to content

preshing/CairoSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple project to render an image to spiral.png. It's meant as an example of using Cairo DLLs for Windows. You can build it on Windows, MacOS or Linux.

Requirements

Windows (Visual Studio)

CairoSample expects to find the Cairo header files, import libraries and DLLs in a subfolder named extern\cairo-windows-1.15.12. You can download and extract the package automatically by running the Python 3 script setup-win32.py. If you don't have Python installed, download and extract the package by hand.

MacOS (Xcode)

Install the Cairo headers and libraries using MacPorts.

sudo port install cairo

Ubuntu

Install the Cairo headers and libraries.

sudo apt install libcairo2-dev

Build Instructions

For build instructions, see the blog post How to Build a CMake-Based Project.

About

An example using Cairo DLLs for Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published