+ simple example for cairo

* fix cairo for win64

git-svn-id: trunk@24211 -
This commit is contained in:
florian 2013-04-09 07:34:26 +00:00
parent 36cb560e0d
commit d48d388e7a
3 changed files with 12 additions and 1 deletions

1
.gitattributes vendored
View File

@ -1070,6 +1070,7 @@ packages/bzip2/src/bzip2stream.pp svneol=native#text/plain
packages/cairo/Makefile svneol=native#text/plain
packages/cairo/Makefile.fpc svneol=native#text/plain
packages/cairo/Makefile.fpc.fpcmake svneol=native#text/plain
packages/cairo/examples/getversion.pp svneol=native#text/pascal
packages/cairo/fpmake.pp svneol=native#text/plain
packages/cairo/src/cairo.pp svneol=native#text/plain
packages/cairo/src/cairoft.pp svneol=native#text/plain

View File

@ -0,0 +1,10 @@
uses
cairo;
var
major, minor, micro: LongInt;
begin
cairo_version(major, minor, micro);
writeln(major,'.',minor,'.',micro);
end.

View File

@ -56,7 +56,7 @@ Uses
CTypes;
const
{$ifdef win32}
{$ifdef MSWINDOWS}
LIB_CAIRO = 'libcairo-2.dll';
{$IFDEF FPC}
{$ifndef NO_SMART_LINK}