Peter Hellberg
|
c871238e9f
|
Change package to text_test
|
2018-01-19 23:09:48 +01:00 |
Peter Hellberg
|
b157c890d6
|
Remove new7x13Atlas function
|
2018-01-19 23:08:06 +01:00 |
Peter Hellberg
|
8d8d5cc9db
|
Document that Clear resets the Dot to Orig
Remove note on how to reset Dot to the Orig
|
2018-01-19 23:00:33 +01:00 |
Peter Hellberg
|
ad738cddf8
|
Add Atlas7x13, Clear now sets Dot field to Orig
Remove unused f2i function
|
2018-01-19 22:20:54 +01:00 |
faiface
|
96f9ed3622
|
fix bug in text benchmark
|
2017-07-02 23:26:26 +02:00 |
faiface
|
2c9c36ba28
|
add text benchmarks
|
2017-07-02 19:35:56 +02:00 |
faiface
|
fcfeb200b6
|
replace complex128 Vec with a struct
|
2017-05-21 19:25:06 +02:00 |
faiface
|
8221ab58bc
|
remove Text.SetMatrix and Text.SetColorMask, add Text.Draw(target, matrix) and Text.DrawColorMask(target, matrix, mask)
|
2017-05-21 18:23:51 +02:00 |
faiface
|
37cd58f0ae
|
remove Text.Matrix() and Text.ColorMask() getters
|
2017-05-19 01:58:34 +02:00 |
faiface
|
aa50147c35
|
change Text properties to fields
|
2017-05-18 23:59:42 +02:00 |
faiface
|
fb51cd9ecb
|
improve Atlas creation time 2-3 times
|
2017-05-11 19:48:43 +02:00 |
faiface
|
9554cd9c20
|
change text.New to take an Atlas
|
2017-05-10 17:56:09 +02:00 |
faiface
|
ef86fe9b20
|
add text package doc
|
2017-05-09 16:48:26 +02:00 |
faiface
|
101637439e
|
add Text.Matrix and Text.ColorMask
|
2017-05-09 16:46:11 +02:00 |
faiface
|
b0e2bd1035
|
add examples on LineHeight and TabWidth to Text doc
|
2017-05-09 16:40:44 +02:00 |
faiface
|
e1f364e5d1
|
add note about not destroying face.Face to Atlas doc
|
2017-05-09 16:39:03 +02:00 |
faiface
|
ef5de4c8c3
|
mention control characters in Text doc
|
2017-05-09 16:36:59 +02:00 |
faiface
|
ee6871c7b8
|
remove accidental markdown formating from Text doc
|
2017-05-09 16:35:51 +02:00 |
faiface
|
fc8eafe3d5
|
fix typo in Text doc
|
2017-05-09 16:34:54 +02:00 |
faiface
|
81e2e645bd
|
minor change in Text doc
|
2017-05-09 16:34:13 +02:00 |
faiface
|
067d9f48d9
|
minor change in Atlas doc
|
2017-05-09 16:32:29 +02:00 |
faiface
|
3035fcac9c
|
clarify doc
|
2017-05-09 16:31:09 +02:00 |
faiface
|
c5df68f8bb
|
add Text doc
|
2017-05-09 16:27:55 +02:00 |
faiface
|
c1f3267176
|
minor change
|
2017-05-09 15:26:50 +02:00 |
faiface
|
e1dba0eb54
|
add Atlas doc
|
2017-05-09 15:25:08 +02:00 |
faiface
|
e7a7ac4026
|
don't cache kerning in Atlas (too expensive and no benefit)
|
2017-05-09 15:10:35 +02:00 |
faiface
|
847b48292b
|
improve Atlas creation, atlas is now square picture (was one row of characters)
|
2017-05-09 14:20:34 +02:00 |
faiface
|
6ce4094935
|
rename Text.LineHeight(scale) -> height, since now it's absolute height
|
2017-05-07 22:03:56 +02:00 |
faiface
|
c0378a703e
|
rename Glyph.Orig -> Dot
|
2017-05-07 21:49:26 +02:00 |
faiface
|
b41a436dce
|
minor change
|
2017-05-07 21:12:48 +02:00 |
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
|
a5414dbb55
|
add Atlas.DrawRune
|
2017-05-07 20:59:41 +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
|
af0330d453
|
add Text.Bounds, Atlas.Ascent, Atlas.Descent
|
2017-05-05 16:02:47 +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 |