Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from jonathanstowe/fix
Various fixes
- Loading branch information
Showing
29 changed files
with
75 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# vim swp files | ||
*.swp | ||
.precomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
--- | ||
sudo: true | ||
sudo: required | ||
dist: trusty | ||
language: perl6 | ||
perl6: | ||
- latest | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -y libgd2-noxpm | ||
- sudo apt-get install -y libgd3 | ||
install: | ||
- rakudobrew build-panda | ||
- panda --notests installdeps . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
NAME | ||
==== | ||
|
||
GD::Raw - Low level language bindings to GD Graphics Library | ||
|
||
SYNOPSIS | ||
======== | ||
|
||
use GD::Raw; | ||
|
||
my $fh = fopen("my-image.png", "rb"); | ||
my $img = gdImageCreateFromPng($fh); | ||
|
||
say "Image resolution is ", gdImageSX($img), "x", gdImageSX($img); | ||
|
||
gdImageDestroy($img); | ||
|
||
DESCRIPTION | ||
=========== | ||
|
||
`GD::Raw` is a low level language bindings to LibGD. It does not attempt to provide you with an perlish interface, but tries to stay as close to it's C origin as possible. | ||
|
||
LibGD is large and this module far from covers it all. Feel free to add anything your missing and submit a pull request! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
use v6; | ||
use v6.c; | ||
use Test; | ||
|
||
use lib 'lib'; | ||
|
||
use GD::Raw; | ||
ok 1, "GD::Raw loaded"; | ||
done; | ||
done-testing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BEGIN { @*INC.unshift('t') } | ||
use GD::Raw; | ||
use lib <t>; | ||
use gdtest; | ||
use Test; | ||
|
||
|