Commit graph

523 commits

Author SHA1 Message Date
Ryan Oldenburg 284f7fce04 2.0.2 2021-05-29 16:17:41 -05:00
Ryan Oldenburg e76549368e computePixelBounds 2021-05-29 16:11:18 -05:00
Ryan Oldenburg f960349518 better with names 2021-05-29 15:57:55 -05:00
Ryan Oldenburg 531bf5c286 faster, better 2021-05-29 15:48:46 -05:00
Ryan Oldenburg 2f8fbcd792 leak fix 2021-05-29 02:26:14 -05:00
Ryan Oldenburg 6606665fe2 f 2021-05-29 01:49:48 -05:00
treeform 356f663039
Merge pull request #209 from guzba/master
svg improvements, emoji megatest, ctx blend test, remove seq[seq[Vec2]] from SomePath
2021-05-27 18:08:00 -07:00
Ryan Oldenburg 2f88639f1d svg bugfixes, improvements, emoji megatests 2021-05-27 19:46:39 -05:00
Ryan Oldenburg 10bc3100e6 docs, bugfix, ctx blend test, remove seq[seq[Vec2]] from SomePath 2021-05-27 17:27:19 -05:00
treeform ac77fef16e morepretty 2021-05-26 17:52:45 -07:00
treeform 49a281d210 Fix demo imports. 2021-05-26 17:41:52 -07:00
Ryan Oldenburg 2afcbaa621 fix path parse bug for m 1 2 3 4 5 6... 2021-05-24 19:25:04 -05:00
Ryan Oldenburg bf674b93e3 docs 2021-05-24 00:32:34 -05:00
Ryan Oldenburg 00dd3faa95 svg stroke-dasharray 2021-05-23 22:31:16 -05:00
Ryan Oldenburg 1e39ce2c80 context line dashes 2021-05-23 21:43:47 -05:00
Ryan Oldenburg dbee65c608 cleaner, icons megatest 2021-05-23 21:23:51 -05:00
Ryan Oldenburg dfc062e0f2 svg miterlimit 2021-05-23 21:18:15 -05:00
Ryan Oldenburg 8ca46d86e3 morepretty 2021-05-23 21:04:58 -05:00
Ryan Oldenburg 58ccbf025a context miterLimit 2021-05-23 21:01:54 -05:00
Ryan Oldenburg b73b88bb63 layers 2021-05-23 20:47:32 -05:00
Ryan Oldenburg 145d54c7e6 rm 2021-05-23 20:46:44 -05:00
Ryan Oldenburg 3c548dd7b9 parse post table 2021-05-23 20:46:44 -05:00
treeform 6fb1323101
Add dashes. (#202)
* Add dashes.
* Miter limits as ratio everywhere.
* Remove some fill and stroke overloads.
2021-05-23 18:46:19 -07:00
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