Thank you for the tip and thanks blei for pasting a correct version.

Cheers,
Hugo

On Wed, Sep 30, 2009 at 1:13 PM, Joe Groff <arc...@gmail.com> wrote:
> On Wed, Sep 30, 2009 at 11:09 AM, Hugo Schmitt <hug...@gmail.com> wrote:
>> Hello. I'm trying to use cairo to generate a png image.
>>
>> But after running this program,
>> http://paste.factorcode.org/paste?id=945, all I get is blank 300x300
>> png image. Anyone who has experience with cairo can give me a hint?
>> Also, how do I display an <image-surface> on the screen ?
>> The cairo-gadgets/cairo-demos/cairo-samples code is on unmantained, so
>> I have nothing to get started beyong cairo-tests.factor.
>
> I don't see you set a fill color anywhere in that paste. Maybe the
> default fill color is transparent.
>
> -Joe
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to