Commit graph

487 commits

Author SHA1 Message Date
Ryan Oldenburg 0d65dffccc add context api 2021-05-19 00:06:02 -05:00
Ryan Oldenburg d491fe26b9 move font rasterize procs to fonts.nim, add join and cap param 2021-05-18 00:48:44 -05:00
Ryan Oldenburg d87b423430 v2.0.0 add transform to pixie.nim helpers 2021-05-17 23:39:47 -05:00
Andre von Houck fcfcadc9dc Add mouse wheel support to demo. 2021-05-13 13:29:44 -07:00
Ryan Oldenburg e186456788 add filePath to typeface 2021-05-11 22:40:40 -05:00
Ryan Oldenburg 7c6a0ab75a f 2021-05-11 22:40:40 -05:00
Ryan Oldenburg e5642dc470 f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 666746d82e span fixes, more tests 2021-05-11 22:40:39 -05:00
Ryan Oldenburg a34831e52c return early 2021-05-11 22:40:39 -05:00
Ryan Oldenburg eae3b5e443 spans 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 10311fae70 check for invalid 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f67b17348f feedback improvements 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 11fdc30399 paint on font 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 4d2d780a51 allow trailing data 2021-05-11 22:40:39 -05:00
Ryan Oldenburg db4913635d andre fixes 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 6a1679fabb f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f969a04a03 move textCase, kerning flag 2021-05-11 22:40:39 -05:00
Ryan Oldenburg e931bd0319 computeBounds, no iterator 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 85bd786dd0 feedback 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 62c7fcd7ed f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg a7ab10b8bf morepretty 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 43e80a70ab docs 2021-05-11 22:40:39 -05:00
Ryan Oldenburg fe59c77230 simpler 2021-05-11 22:40:39 -05:00
Ryan Oldenburg a97f2171a4 uint32 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 7b2393874b arrangement api 2021-05-11 22:40:25 -05:00
Ryan Oldenburg eb550c0671 text alignments 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 5130651f15 wrap flag 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 20eb1af118 selection rects, better initial y 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 4a670e19df title case fix from andre 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 5c6725c4e3 handle control runes, newline 2021-05-11 22:40:25 -05:00
Ryan Oldenburg e5a463aaa3 names possibility 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 05889d51e4 fixes 2021-05-11 22:40:25 -05:00
Ryan Oldenburg 6a618b9e6b morepretty 2021-05-11 22:40:25 -05:00
Ryan Oldenburg a5f6fa4022 feedback 2021-05-11 22:40:24 -05:00
Ryan Oldenburg a8aef40637 a bit cleaner 2021-05-11 22:40:24 -05:00
Ryan Oldenburg b0e7a1ae56 tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 93a854c7b2 improvement? 2021-05-11 22:40:24 -05:00
Ryan Oldenburg eafd18fa7e more tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg cbfccea851 f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg dc773555a8 f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 410057806e space fix for paragraph 2021-05-11 22:40:24 -05:00
Ryan Oldenburg c166183f35 inline 2021-05-11 22:40:24 -05:00
Ryan Oldenburg cfb00b9b18 font bounds and benchmark 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 33b8a5a839 cleaner + perf 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 9b7fa748d8 todo 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 0ff8eb39c9 bugfix, dont ignore translate for initial relative move 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 8c11669e7f f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 4804293a4a copymem for unfiltered rows 2021-05-11 22:40:24 -05:00
Ryan Oldenburg 6c9abf4084 fuzz fix 2021-05-11 22:40:24 -05:00
Ryan Oldenburg f325633a9b feedback addressed 2021-05-11 22:40:24 -05:00
Ryan Oldenburg b42b9d649a svg fonts + move stuff around 2021-05-11 22:40:24 -05:00
Ryan Oldenburg bf4174abd9 readfont extensions 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 8574b12900 typeface + cleaner 2021-05-11 22:40:23 -05:00
Ryan Oldenburg a076205882 f 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 566636c99e feedback 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 512e49e6e7 only return kern if we parsed it 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 7ae3d5c418 megatest start + improvements 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 4bdcc67baa kerning 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 9dc96f45ce kern parse 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 2694a67c52 font api tests 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 082f16096f simple api attempt 1 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 267294a3e8 basic font start 2021-05-11 22:40:23 -05:00
Ryan Oldenburg 7d3d5acfb5 scale as test 2021-04-26 19:50:00 -05:00
Joris Bontje 2e93a75bb7 Add SVG scale transform and non-zero / negative viewbox offset 2021-04-21 15:28:53 +02:00
treeform 101619a9e6 Fix small png loading bug. 2021-04-19 08:48:51 -07:00
treeform a781580ac8 1.1.3: Use fractional from vmath. 2021-04-18 16:54:00 -07:00
Ryan Oldenburg 8dbb78c387 png decode perf improvement 2021-04-11 13:09:16 -05:00
treeform 75915ab05f 1.1.2: Update deps and docs. 2021-03-26 14:10:11 -07:00
treeform 4aa1afc0c2 1.1.1 Fix bug with stroke cricle. 2021-03-15 08:05:47 -07:00
treeform d7330c7eb3 Small demo.nim import/export improvement. 2021-03-11 20:48:03 -08:00
treeform 38bcd8973c
Add demo.nim to be used for active (keyboard, mouse, screen) demos. (#151) 2021-03-11 20:09:12 -08:00
Ryan Oldenburg 99a2a0ba40 1.1.0 SomeColor 2021-03-11 21:47:45 -06:00
Ryan Oldenburg ad24e4d836 1.0.5 converters, morepretty 2021-03-03 12:48:22 -06:00
Ryan Oldenburg 10fb0ad40f use zippy bitstream in gif.nim 2021-03-01 12:02:21 -06:00
treeform c8269d5db9 Add GIF file format. 2021-03-01 08:53:15 -08:00
treeform d248457b0b Some gif improvments. 2021-03-01 08:46:03 -08:00
treeform dc52e6f77b Add gif fuzzing. 2021-03-01 08:38:00 -08:00
treeform c7ff50660e Fix gif test. 2021-03-01 01:07:33 -08:00
treeform 5e7096dfd7 Merge branch 'master' of github.com:treeform/pixie 2021-03-01 01:01:11 -08:00
treeform e0ebc1c655 Started work on gif image loader. 2021-03-01 01:01:04 -08:00
Ryan Oldenburg a71b3150c7 add image diff 2021-02-28 01:00:56 -06:00
treeform a79cad9d90 Rename lookup to kernel. 2021-02-26 23:06:13 -08:00
treeform 9508150e99 Fix bug with mask.fillPath. 2021-02-26 23:01:28 -08:00
Ryan Oldenburg 7aee1b5d82 spread optimization + spread and blur bugfix 2021-02-27 00:36:35 -06:00
Ryan Oldenburg a04388ee43 funny blur speedup 2021-02-27 00:01:01 -06:00
Ryan Oldenburg 6ec7ec0fbb f 2021-02-26 23:37:47 -06:00
Ryan Oldenburg 3b109567e9 remove todo 2021-02-26 19:23:19 -06:00
Ryan Oldenburg 01b353f903 simpler 2021-02-26 19:21:44 -06:00
Ryan Oldenburg 004182a122 simpler + out of bounds color for image blur 2021-02-26 19:10:48 -06:00
Ryan Oldenburg 36352685e1 bugfix blur perf rgba/rgbx 2021-02-26 18:46:21 -06:00
Ryan Oldenburg 39d316d0d7 blur performance improved 2021-02-26 18:06:28 -06:00
Ryan Oldenburg 117cad90b2 separate image and masks blur 2021-02-26 17:35:52 -06:00
Ryan Oldenburg 5722ef51d3 quick optimization 2021-02-26 10:28:05 -06:00
treeform 076dc60468 Fix gradients to use rgbx. 2021-02-25 16:26:55 -08:00
Ryan Oldenburg 64cfab293d migrate public api to rgbx 2021-02-25 18:11:58 -06:00
Ryan Oldenburg f04f8e9478 images are always premultipled alpha 2021-02-25 16:11:36 -06:00
Ryan Oldenburg b623150b3f shortcut 2021-02-25 15:13:14 -06:00
Ryan Oldenburg 5e3e489f61 internal.nim 2021-02-25 12:16:33 -06:00
Ryan Oldenburg 751b804679 morepretty 2021-02-25 11:43:09 -06:00
Ryan Oldenburg 7b9d968381 small comment things 2021-02-25 11:39:30 -06:00