libera/#clim - IRC Chatlog
Search
7:40:37
lukego
Just now it seems like the next strategy for me to try is (1) Draw each part into a CLIM output record to know how big it is and the locations of relevant constituent parts (2) describe layout problem in SMT-LIB syntax and solve with Z3 (3) Place the parts by setting the positions of their output records according to the model from the solver.
7:41:26
lukego
Have done the basic "pack these boxes into this area such that they don't overlap" layout this way now and have to take a dog walk to think about how to express more useful layout constraints in this way
10:12:35
splittist
setf-ing the position of an output record alters the coordinates of that output record - except for draw-text-output-records, where it alters the graphics-state-transformation of the record. When replaying an output record, the medium-native-transformation (which is the sheet-native-transformation of +identity...+ if none) is used - except for text, which uses the medium-DEVICE-transformation (which, I think, eventually gets back to
10:13:21
splittist
Is there a reason for this difference in behaviour? Is it do with the extendable nature of text output records? (i.e that you can stuff more chars/strings into them)
10:17:06
jackdaniel
splittist: the spec has somewhat funny notion that by default only the text position is transformed