Graphics Library for D
qznc
qznc at web.de
Tue Jan 7 04:11:48 PST 2014
On Monday, 6 January 2014 at 19:13:19 UTC, Ola Fosheim Grøstad
wrote:
> On Monday, 6 January 2014 at 18:34:53 UTC, Keesjan wrote:
>> Another lib to consider is www.cairographics.org
>
> I think Cairo only support straight lines and cubic bezier
> curves in what appears to be a somewhat inefficient format, but
> the backend support is quite extensive.
Cairo supports defining paths and then drawing/filling them. This
is all you need for basic 2D images, no? Well, then you can embed
other pictures/framebuffers and clip/transform them. There is no
photoshop-filter like effects, though. What do you expect?
Cairo also has some naive text support, but you probably want to
use Pango for text, which is closely integrated with Cairo.
I used Cairo (via GtkD) to produce pdf documents. The pdf and png
backends are probably pretty unique for a graphics 2D library.
Most just target a screen.
More information about the Digitalmars-d
mailing list