A NativeCall binding to the Cairo 2d graphics library for Perl 6
Perl6
Latest commit 26cf5f4 Jul 11, 2016 @timo committed on GitHub Merge pull request #5 from dwarring/travis-setup
add a test + travis setup. minor readme fix

thanks, dwarring++
Permalink
Failed to load latest commit information.
lib make classes our-scoped. Jan 9, 2016
t clean up test files Jul 10, 2016
.travis.yml add a test + travis setup. minor readme fix Jul 10, 2016
META6.json rename META.info to META6.json Sep 26, 2015
Readme.md typo Jul 10, 2016

Readme.md

Cairo 2D Graphics library binding for Perl 6

Synopsis

use Cairo;
given Cairo::Image.create(Cairo::FORMAT_ARGB32, 128, 128) {
    given Cairo::Context.new($_) {
        .rgb(0, 0.7, 0.9);
        .rectangle(10, 10, 50, 50);
        .fill :preserve; .rgb(1, 1, 1);
        .stroke
    };
    .write_png("foobar.png")
}