Commit Graph

16 Commits

Author SHA1 Message Date
faiface 68008f163a improve Text code 2017-05-07 21:08:10 +02:00
faiface 75d68a6963 add Text.BoundsOf 2017-05-07 21:00:19 +02:00
faiface ad606d2d0a restructure Text writing for more flexibility and consistency 2017-05-07 20:59:56 +02:00
faiface 8797440f38 fix Text.Bounds 2017-05-05 16:42:40 +02:00
faiface 75a25a0df6 remove Batch from Text and optimize it 2017-05-05 16:13:26 +02:00
faiface 1bb5353ec7 fix Text.Color 2017-05-04 22:30:18 +02:00
faiface 7dc94990e4 move Atlas type to a separate file 2017-05-03 23:59:37 +02:00
faiface 91448dcd68 change Text.LineHeight to use actual units instead of scale (such as 1.5) 2017-05-03 23:57:09 +02:00
faiface 48f3d5cb3e add Text.Atlas (Atlas has some useful stuff, e.g. line height) 2017-05-03 23:55:44 +02:00
faiface e112598b5c add Text.WriteByte 2017-05-03 23:55:10 +02:00
faiface 0d3fd03a40 export Atlas from text package + add Text.WriteRune and Text.WriteString 2017-05-03 23:54:24 +02:00
faiface 2a060fe944 add Text.SetMatrix and Text.SetColorMask 2017-05-03 21:48:05 +02:00
faiface 5f24ce9ccb add Text.LineHeight and text.TabWidth 2017-05-03 21:04:18 +02:00
faiface 90b9fcbf23 add Text.Orig (start of the text) 2017-05-03 20:56:06 +02:00
faiface e3632860b0 optimize Text.Write (remove one allocation) 2017-05-03 00:13:39 +02:00
faiface b463f91a6f add incomplete Text type in text package 2017-05-02 22:46:51 +02:00