Start to create debug datatypes
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ stackText = mconcat . zipWith (\y s -> translate 0 y $ centerText s) [0, 100 ..]
|
||||
|
||||
text :: String -> Picture
|
||||
{-# INLINE text #-}
|
||||
text = translate (-50) (-100) . drawText (-10)
|
||||
text = translate (-50) (-100) . drawText (10)
|
||||
|
||||
drawText :: Float -> String -> [Verx]
|
||||
drawText gap = map f . stringToList gap
|
||||
|
||||
Reference in New Issue
Block a user