add script to lántas pages
This commit is contained in:
parent
ba5522187c
commit
f61e5b1146
13 changed files with 332 additions and 143 deletions
|
@ -13,7 +13,7 @@ import Graphics.Svg hiding (mA, mR, lA, lR, cA, cR, sA, sR, aA, aR)
|
|||
import Data.Text (Text, pack)
|
||||
|
||||
|
||||
data Env = E {width, size, stroke :: !Double}
|
||||
data Env = E {width, size, stroke :: !Double, color :: !Text}
|
||||
data St = S {x, y, textWidth, textHeight :: !Double}
|
||||
-- nb textHeight is one lineheight less than the actual height
|
||||
-- unless ending with a 'newline'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue