Re: [Factor-talk] Help with Cairo

2009-09-30 Thread Hugo Schmitt
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

Re: [Factor-talk] Reorganize some code for simplicity

2009-09-30 Thread Samuel Tardieu
Hugo == Hugo Schmitt hug...@gmail.com writes: Hugo Hi again, what would be the best way to reorganize code like this Hugo (most Cairo functions take the same first argument): You may want to use cleave here, to get something like (untested): : hello-cairo ( -- ) { 100 100 } [ {

Re: [Factor-talk] Reorganize some code for simplicity

2009-09-30 Thread Hugo Schmitt
The code works, thank you. On Wed, Sep 30, 2009 at 4:31 PM, Samuel Tardieu s...@rfc1149.net wrote: Hugo == Hugo Schmitt hug...@gmail.com writes: Hugo Hi again, what would be the best way to reorganize code like this Hugo (most Cairo functions take the same first argument): You may want to

[Factor-talk] refresh behavior for non-default vocab roots

2009-09-30 Thread Hugo Schmitt
Hello, I noticed that using this, which used to work for a vocab under c:/factor/extra: vocab dup refresh run stopped working when I moved the vocab to c:/home/factor, which I add as a vocabulary root on my factor-rc. Note that just running for the first time works though - it's refresh that

Re: [Factor-talk] refresh behavior for non-default vocab roots

2009-09-30 Thread Adam
There's also the `reload' word. On Wed, Sep 30, 2009 at 12:47 PM, Hugo Schmitt hug...@gmail.com wrote: Hello, I noticed that using this, which used to work for a vocab under c:/factor/extra: vocab dup refresh run stopped working when I moved the vocab to c:/home/factor, which I add as a