Re: Recomended cairo bindings

2014-09-15 Thread evilrat via Digitalmars-d-learn
On Monday, 15 September 2014 at 12:11:09 UTC, Paul Z. Barsan wrote: Variables like CAIRO_HAS_XLIB_SURFACE are platform specific, xlib and xcb surfaces are for linux, win32 and directfb surfaces are for windows and so on.. I will search in dubs documentation how can I specify this sort of vari

Re: Recomended cairo bindings

2014-09-15 Thread Paul Z. Barsan via Digitalmars-d-learn
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/

Re: Recomended cairo bindings

2014-09-15 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Monday, 15 September 2014 at 12:11:09 UTC, Paul Z. Barsan wrote: On Sunday, 14 September 2014 at 14:37:05 UTC, Robert burner Schadek wrote: If you look at deimos.cairo you will see that the latest commit was made 2 years ago while cairoD was last updated 6 months ago. I think the latest c

Re: Recomended cairo bindings

2014-09-15 Thread Paul Z. Barsan via Digitalmars-d-learn
On Sunday, 14 September 2014 at 14:37:05 UTC, Robert burner Schadek wrote: use gtkd they have a cairo binding Well, umm.. the fact is that I want to make my own lightweight cross-platform widget toolkit from scratch and a gtkd dependency is a big no-no. On Sunday, 14 September 2014 at 14:45

Re: Recomended cairo bindings

2014-09-14 Thread evilrat via Digitalmars-d-learn
On Sunday, 14 September 2014 at 13:30:28 UTC, Paul Z. Barsan wrote: First of all, the cairo version in the dub registry is different from the deimos version. CairoD (dub pkg) has support for more surfaces and provides D-style wrappers but I get compile-time errors. When I try to get an instan

Re: Recomended cairo bindings

2014-09-14 Thread Robert burner Schadek via Digitalmars-d-learn
On Sunday, 14 September 2014 at 13:30:28 UTC, Paul Z. Barsan wrote: Hello, I want to use a cairo XlibSurface for painting in a project of mine and I don't know what bindings should I use. I've started with deimos.cairo which has a C-style syntax and works well on my linux machine. After I hea

Recomended cairo bindings

2014-09-14 Thread Paul Z. Barsan via Digitalmars-d-learn
Hello, I want to use a cairo XlibSurface for painting in a project of mine and I don't know what bindings should I use. I've started with deimos.cairo which has a C-style syntax and works well on my linux machine. After I heard about dub, I switched to this build system and I ran into problem