From ellis at stat.harvard.edu  Sat Dec 24 07:47:36 2005
From: ellis at stat.harvard.edu (Byron Ellis)
Date: Fri, 23 Dec 2005 22:47:36 -0800
Subject: [Rd] cairo anyone?
In-Reply-To: <7953CC30-7290-46DC-A6A0-5292CBFF9F2F@r-project.org>
References: <8EF1732A-F59B-438C-AA78-AC070AD277A3@stat.harvard.edu>
	<7953CC30-7290-46DC-A6A0-5292CBFF9F2F@r-project.org>
Message-ID: <678DA1AC-8576-4E81-B470-498733C1A48A@stat.harvard.edu>

Ah, that should work, every now and again I think to myself "ah ha! I  
should just generate some pngs..." until, invariably...

Error in X11(paste("png::",....

then I swear for a bit and go off to do something else because I  
can't be bothered. If I end up doing anything cool (IIRC cairo  
handles all your major backing surfaces... including OpenGL via  
Glitz, which could be handy for RGL) I'll shoot you a patch.



On Dec 23, 2005, at 3:25 PM, Simon Urbanek wrote:

> Byron,
>
> On Dec 22, 2005, at 8:07 PM, Byron Ellis wrote:
>
>> Has anyone taken a shot at a Cairo graphics device yet?
>
> *opens a drawer* You can try this:
> http://www.rosuda.org/R/Cairo_0.1-1.tar.gz
>
> I'm using it for generating bitmap files (PNG), that's why only the  
> image-backned is used. It should be easy to add other formats like  
> PDF or maybe even other surfaces like Win32, Quartz or XLib,  
> because the back-end part is modular, but I didn't bother (yet?).
>
> Cheers,
> Simon
>

---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian



[Rd] cairo anyone?
Byron Ellis