Recomended cairo bindings

Paul Z. Barsan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 15 06:13:02 PDT 2014


On Monday, 15 September 2014 at 12:19:11 UTC, Edwin van Leeuwen 
wrote:

> Out of curiosity: What does deimos.cairo add to cairoD? More 
> higher level/d-like API?
>
> Cheers, Edwin

It's the other way around: cairoD adds D-style wrappers but 
underneath  they use C-style bindings(found in 
cairoD/src/cairo/c/*) similar to deimos.cairo.

Deimos.cairo provides more bindings such as script, 
script_interpreter, xlib_xrender ... and cairoD has support for 
win32 surface. The coding-style in deimos.cairo seems nicer, the 
lib beeing maintained by Walter Bright, and if I merge everything 
from deimos.cairo into cairo.c.*(cairoD) then the projects that 
were using deimos.cairo can easyly switch to dub and cairoD just 
by changing the imports.



More information about the Digitalmars-d-learn mailing list