Search
Thursday, 26th of April 2018, 16:27:14 UTC
3:17:49
beach
Good morning everyone!
4:00:04
loke
Nothing much. Been thinking about how to deal with output records recordingtrnasformations
4:00:26
loke
I managed to do it, but it was so ugly that I didn't even want to commit it as a work-in-progress (I don't want any record of me actually writing that code)
4:00:49
loke
https://gist.github.com/lokedhs/792f6c8b2a500f772be7a05032cafb22
4:01:26
loke
Note how I use a dynamic variable to pass the override transformation to be used by the text rendering
4:02:23
loke
What I really need is to ament the MEDIUM-DRAW-TEST function to accept a transformation
4:02:35
loke
I'm considering doing that right now.
4:02:55
beach
I assume you meant TEXT, right?
4:24:56
loke
I'm looking at the class COMPLETE-MEDIUM-STATE
4:25:14
loke
It mixes in a few other states, such as INK, CLIP and LINE-STYLE
4:25:42
loke
at first I thought that transformation should belong there too, but no... that wouldn't work.
4:26:03
loke
I can't think of any solution other than changing the interface of MEDIUM-DRAW-TEXT to accept a transformation
4:26:44
beach
We should consider changes like that. It is not as though we have to support some legacy software that does arbitrary stuff.
4:27:12
beach
I mean "consider", i.e. we should think about it and not be tied too much to the specification.
Friday, 27th of April 2018, 4:27:14 UTC