preshing / CairoSample

An example using Cairo DLLs for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:The Unlicense


Languages

Language:CMake 56.0%Language:C++ 22.0%Language:Python 22.0%