Commit graph

500 commits

Author SHA1 Message Date
treeform 08dac8e241
Add high DPI support for Demo. (#197)
* Add high DPI support for Demo.
2021-05-23 16:46:26 -07:00
treeform fc557e372a
Merge pull request #201 from timotheecour/pr_fix_pixie_D20210519T113112
fix pixie for https://github.com/nim-lang/Nim/pull/18050
2021-05-23 10:34:56 -07:00
Timothee Cour 1ec7cefda2 fix pixie for https://github.com/nim-lang/Nim/pull/18050 2021-05-22 21:37:58 -07:00
Ryan Oldenburg 41cd488ae3 context clip support 2021-05-22 21:43:42 -05:00
Ryan Oldenburg b88d36be13 morepretty 2021-05-22 19:07:53 -05:00
Ryan Oldenburg 3b0f841d70 circle to paths.nim 2021-05-22 19:06:10 -05:00
zetashift a9b38bc321 Add fillCircle and strokeCircle taking a Circle for Context 2021-05-22 20:01:14 +02:00
Ryan Oldenburg 5cc8e911d1 move image helpers from pixie.nim to context.nim 2021-05-21 00:54:55 -05:00
Ryan Oldenburg e5da43b059 more clear 2021-05-19 13:22:57 -05:00
Ryan Oldenburg 3699405203 typos 2021-05-19 13:15:53 -05:00
Ryan Oldenburg fac02141f2 typos 2021-05-19 13:13:54 -05:00
Ryan Oldenburg 58c262849d context docs 2021-05-19 13:09:00 -05:00
Ryan Oldenburg bb0d44c23e feedback 2021-05-19 00:38:12 -05:00
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