caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] 2D vector graphics
@ 2013-05-17 21:38 Florent Monnier
  0 siblings, 0 replies; only message in thread
From: Florent Monnier @ 2013-05-17 21:38 UTC (permalink / raw)
  To: Caml List; +Cc: Francois Berenger

2013/5/10, Francois Berenger wrote:
> On 05/08/2013 11:32 AM, Francois Berenger wrote:
>> Hello,
>>
>> Is there a standard library for this purpose?
>
> By the way, I just saw in OPAM that there are bindings
> to cairo, which looks quite nice for 2D vector graphics.

There's even "Caboodle" a mini-puzzle game that uses it,
which is very simple but interesting as an example of what we can do with it.

For Mageia Linux users, just install it with:
$ su - -c "urpmi caboodle"
$ caboodle

If you don't have any package for your distro, you may want to get our
patches from:
http://svnweb.mageia.org/packages/cauldron/caboodle/current/
before to compile it.

Or more minimalist examples on Rosetta:
http://rosettacode.org/wiki/Category:Ocaml-cairo

For 2D accelerated graphics, you may also appreciate SFML 2.0,
there are 2 usable bindings: ocaml-sfml and ocsfml.
Both are good for the 2.0 version of SFML that was just released
several days ago.

-- 
Best regards

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-17 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 21:38 [Caml-list] 2D vector graphics Florent Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).