Re: [plt-dev] update on experiment in re-implementing MrEd

2009-03-30 Thread Noel Welsh
On Mon, Mar 30, 2009 at 10:13 AM, Noel Welsh wrote: > reproduced below. I have an issue writing tests. I've fixed this. I needed a yield (I also got rid of MrEd; not sure this was necessary). The test shows many rendering problems -- try resizing the window -- but its a start. N. ___

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-03-30 Thread Noel Welsh
On Sun, Mar 29, 2009 at 7:00 PM, Matthew Flatt wrote: > `dc<%>' already supports `dc-path%', which is close to the Cairo (i.e., > PostScript) model. There's also already a global alpha, and we'll add > more things like rotation (or, more generally, a transformation > matrix). > > Is masking differ

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-03-29 Thread Matthew Flatt
At Sun, 29 Mar 2009 18:41:52 +0100, Noel Welsh wrote: > 1. The Cairo code will be mostly generic, so I think there should be a > dc base class/mixin/trait in common Yes. > 2. The Cairo drawing model is quite different to the dc model. dc is > immediate -- you call functions and the shapes appear

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-03-29 Thread Noel Welsh
> One piece of the puzzle is easy to split from the rest: implementing > the `dc<%>' classes on top of Cairo. I'm not gonna volunteer to do this, as I don't think I have time to complete the job. However I couldn't stop myself fiddling around with the code, and I've gone and implemented draw-recta

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-02-07 Thread Grant Rettke
On Fri, Feb 6, 2009 at 5:10 PM, Matthew Flatt wrote: > For you amusement, I've put my current work here: Thanks. There are bigger things than me being amused; but I am. It works fine on Windows Vista. _ For list-related administrative tasks: ht

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-02-07 Thread Matthew Flatt
At Sat, 7 Feb 2009 08:56:52 -0500, Sam TH wrote: > On Fri, Feb 6, 2009 at 9:22 PM, Matthew Flatt wrote: > > At Fri, 6 Feb 2009 20:12:06 -0500, Henk Boom wrote: > >> Another library naming issue, on my Gentoo system the libraries are > >> > >> libgdk-x11-2.0.so > >> libgtk-x11-2.0.so > >> > >> with

Re: [plt-dev] update on experiment in re-implementing MrEd

2009-02-07 Thread Sam TH
On Fri, Feb 6, 2009 at 9:22 PM, Matthew Flatt wrote: > At Fri, 6 Feb 2009 20:12:06 -0500, Henk Boom wrote: >> Another library naming issue, on my Gentoo system the libraries are >> >> libgdk-x11-2.0.so >> libgtk-x11-2.0.so >> >> with a .0 after the 2. With that fix it seems to work =). > > Does an