Sunday, February 13, 2011

wumpus-drawing

Copperbox revision 2138.

I've reworked the DocText type so it supports fill combinators. Filling pads the right or left of a combinator with space if its length is shorter than the fill - I've only done right fill so far as it is easier.

Also I've added font size changing although this needs careful use as the line height do not adjust dynamically - Line height is judged by the height of the current font when drawing starts, not on the largest height of all subsequent text.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.