Commit graph

455 commits

Author SHA1 Message Date
Ryan Oldenburg b8c1dbc4f2 f 2021-11-21 01:10:15 -06:00
Ryan Oldenburg f1b04ca441 remove most countups 2021-11-19 12:35:01 -06:00
Ryan Oldenburg 7e2fb402ad 3.0.3 2021-11-18 16:07:42 -06:00
Ryan Oldenburg 87c7e9fee6 rm float64 2021-11-12 23:39:43 -06:00
Ryan Oldenburg e3fc57ce3c faster path intersects 2021-11-10 17:08:26 -06:00
treeform 35fda58c33 Fixed negative/flipped axis matrix drawing. 2021-11-07 15:42:53 -08:00
Ryan Oldenburg 4a0d9c29b8 morepretty 2021-10-27 16:44:22 -05:00
Ryan Oldenburg 3721cb806a faster flips 2021-10-24 21:37:36 -05:00
Ryan Oldenburg 9e062788d4 rm 2021-10-19 21:09:59 -05:00
Ryan Oldenburg 08beb6b947 3.0.2 bugfix 2021-10-19 20:12:45 -05:00
Ryan Oldenburg 7774695e35 3.0.1, minifyBy2 fix for non-even src dimens 2021-10-19 17:45:03 -05:00
Ryan Oldenburg 71d9c8cd6e magnifyBy2 faster 2021-10-17 22:05:27 -05:00
Ryan Oldenburg db378d2a8f typo, better benchmark 2021-10-12 13:11:01 -05:00
Ryan Oldenburg 703279505c update benchmark 2021-10-11 19:20:43 -05:00
Ryan Oldenburg 728f580a8e nimble test file sync 2021-10-04 17:29:46 -05:00
treeform e486c25d7d Add tiled test. 2021-10-04 11:44:37 -07:00
treeform d29b4e1c45 The magnifyBy2 fix. 2021-10-04 11:41:09 -07:00
treeform 88cd22e22b Add more tests. 2021-10-04 07:35:30 -07:00
treeform 343e82e185 f 2021-10-03 20:23:35 -07:00
treeform e7f436571d f 2021-10-03 20:16:57 -07:00
treeform a4a9da76be f 2021-10-03 20:12:16 -07:00
treeform 3cf68ec480 way better 2021-10-03 20:11:18 -07:00
Ryan Oldenburg ff37660633 blur kernel 16 bits 2021-10-03 21:22:10 -05:00
Ryan Oldenburg bc25a3103f f 2021-10-03 20:24:25 -05:00
Ryan Oldenburg 09b296e616 fix tests, benchmarks, fuzzes, etc 2021-10-03 17:49:21 -05:00
Ryan Oldenburg 3484857163 reorganize tests a bit 2021-10-03 17:25:23 -05:00
Ryan Oldenburg ea1aef7bd2 mask magnifyBy2 2021-10-03 15:32:10 -05:00
Ryan Oldenburg e99879b3bd f 2021-10-03 15:19:33 -05:00
treeform 052eeb5a18 Fix tofu advance. 2021-10-03 11:12:56 -07:00
treeform a1659198e3 Add files. 2021-10-03 11:12:56 -07:00
treeform a8e1943556 Better fallback 2021-10-03 11:12:56 -07:00
Andre von Houck c0f31b276f Add font fallback. 2021-10-03 11:12:56 -07:00
Andre von Houck 733b0e56a1 remove mac image diff 2021-09-26 14:05:14 -07:00
Andre von Houck 83dc10170f Rename lerp to mix. lerp is deprixated and GLSL uses mix. 2021-09-26 14:02:28 -07:00
Andre von Houck cc880be3ff Add raw to benchmark PNG. 2021-09-16 11:41:47 -07:00
Ryan Oldenburg 303abc6249 fix multi-break long words 2021-09-12 15:43:26 -05:00
treeform f419fdb4d9 Add long words test. 2021-09-12 13:24:22 -07:00
treeform 190eb92ef8 Fix computeBounds with \n at the end. 2021-09-10 13:04:24 -07:00
Ryan Oldenburg 60bcff9bb2 simd draw bugfix 2021-09-08 22:59:47 -05:00
treeform a85b4a2905 Fix test. 2021-09-08 17:46:12 -07:00
treeform 8a67455f73 Fix selection rects align to pixel logic. 2021-09-08 17:42:58 -07:00
treeform 8d1a84efea Fix strikethough and underline for CFF fonts with winding order flag. 2021-09-07 13:08:44 -07:00
treeform 935a0eb5c2 Remove .wh on Images and Masks (it was odd one). 2021-09-06 10:05:56 -07:00
treeform 301c6bd31c Add tests for underline and strike though. More const. 2021-09-06 09:20:16 -07:00
treeform fd3c9f64e7 add test font 2021-09-03 12:15:57 -07:00
treeform 3fa9d34544 Add test for a CID based font. 2021-09-03 12:03:36 -07:00
treeform f92e6d49d1 Add test for CFF font. 2021-09-03 08:41:16 -07:00
Ryan Oldenburg e79d85c1a1 fail if kerning has issues parsing 2021-08-28 19:55:33 -05:00
Ryan Oldenburg 7debb739f9 small things 2021-08-23 18:18:35 -05:00
Ryan Oldenburg 8c9daadd04 morepretty 2021-08-17 23:11:48 -05:00
treeform b84746f6f2 Fix isTransparent and add test. 2021-08-17 20:25:36 -07:00
Ryan Oldenburg 7e56800de7 image isTransparent isOneColor 2021-08-17 16:14:31 -05:00
Ryan Oldenburg d8afee9bf3 superImage 2021-08-17 15:15:39 -05:00
Ryan Oldenburg 412baf6c19 more binding prep 2021-08-17 15:15:39 -05:00
Ryan Oldenburg abbe4f63ea more changes for bindings 2021-08-12 21:41:43 -05:00
Ryan Oldenburg 8c458d2ab2 paint uses color 2021-08-11 23:25:30 -05:00
Ryan Oldenburg a95d1f546b changes noticed while working on bindings 2021-08-11 19:42:57 -05:00
Ryan Oldenburg 6d9ab5b200 paint as ref object 2021-08-06 19:00:06 -05:00
Ryan Oldenburg 3f08c2bfa4 path as ref object 2021-08-06 14:39:21 -05:00
Ryan Oldenburg daaa71b2b1 font as ref object 2021-08-06 01:26:20 -05:00
Ryan Oldenburg 789d543faf morepretty 2021-07-19 00:50:49 -05:00
Ryan Oldenburg 2ee4f747e2 implement svg opacityy, fill-opacity, stroke-opacityy, linearGradient 2021-07-19 00:49:30 -05:00
Ryan Oldenburg 836873d78f sort changes 2021-07-18 22:49:34 -05:00
Ryan Oldenburg e5cccb63d1 morepretty 2021-07-18 16:59:50 -05:00
Ryan Oldenburg c3e168caa4 paint has opacity 2021-07-18 16:56:20 -05:00
Ryan Oldenburg f42d46be7a add test 2021-07-18 15:52:44 -05:00
Ryan Oldenburg d097fda55b context isPointInPath isPointInStroke 2021-07-18 13:20:22 -05:00
treeform ee48d9cdd9
Merge pull request #242 from treeform/arcs
Add arcs.
2021-07-10 23:39:33 -07:00
treeform bd46136952 Add arcs. 2021-07-10 23:00:01 -07:00
Ryan Oldenburg e5f909555e png seq[uint8] -> string internal, updated deps 2021-06-29 23:52:29 -05:00
Ryan Oldenburg 18ed0a93cb fix masters 2021-06-29 23:10:51 -05:00
Ryan Oldenburg 5742fb7d95 remove warning 2021-06-29 15:08:26 -05:00
Ryan Oldenburg ba5cd80d7b svg masters + diffs 2021-06-28 21:50:09 -05:00
Ryan Oldenburg 2580829e67 move svg rendered 2021-06-28 20:57:47 -05:00
Ryan Oldenburg e780539168 updated + new pixie masters 2021-06-28 20:50:55 -05:00
Ryan Oldenburg 32c3072e0a get smooth a bit smarter (faster in solid color case) 2021-06-27 16:24:56 -05:00
treeform 56b7361f65
Merge pull request #237 from guzba/master
fill paths faster, random stuff
2021-06-26 22:00:53 -07:00
treeform f67b940f2d Formating fixes. 2021-06-26 21:47:51 -07:00
Ryan Oldenburg c765026b67 morepretty 2021-06-26 23:16:35 -05:00
treeform 7a1a2850c2 More tests and docs. 2021-06-25 22:10:53 -07:00
treeform 1ee2532087 Draw with source cutout. 2021-06-25 22:07:02 -07:00
treeform 8736b74a3e add images 2021-06-25 21:52:48 -07:00
treeform f62b3962f4 add images 2021-06-25 20:36:24 -07:00
treeform ecb3673372 Add drawImage to context. 2021-06-25 20:35:40 -07:00
Ryan Oldenburg 9e132b6457 small stuff 2021-06-25 16:55:51 -05:00
Ryan Oldenburg 2232e09a27 masks and images conversion 2021-06-25 01:20:04 -05:00
Ryan Oldenburg a33fcd9132 spread benchmarks 2021-06-19 15:26:08 -05:00
Ryan Oldenburg a838de821c paths.nim masks take blendMode for masking, tests, fixes and etc 2021-06-18 21:53:46 -05:00
Ryan Oldenburg 5e4f291f7d add test 2021-06-18 20:41:47 -05:00
treeform 8178670619 add images 2021-06-18 16:42:24 -07:00
treeform 1ee3d3902a Fixing blends 2021-06-18 16:39:55 -07:00
Ryan Oldenburg 51d38c7e37 2x faster mask minifyBy2 2021-06-18 16:04:25 -05:00
Ryan Oldenburg 280089b1b3 restore test 2021-06-18 15:36:00 -05:00
Ryan Oldenburg eb0d607796 add better minify test 2021-06-18 00:47:31 -05:00
Ryan Oldenburg 5ac2dc05f6 unused 2021-06-17 23:10:14 -05:00
Ryan Oldenburg d18a268600 faster + benchmark 2021-06-17 23:09:00 -05:00
Ryan Oldenburg 848a051310 add scale draw test 2021-06-17 21:39:00 -05:00
Ryan Oldenburg e16fcb595d benchmark 2021-06-17 21:25:54 -05:00
Ryan Oldenburg e4172aefee add magnify tests 2021-06-17 17:34:48 -05:00
Ryan Oldenburg 7dfea4dc39 context.nim -> contexts.nim, pixieDebugSvg 2021-06-12 11:34:45 -05:00
Ryan Oldenburg 7adb5c662f add examples to github actions 2021-06-06 23:39:05 -05:00
Ryan Oldenburg fb87aecd1d fill closes subpaths 2021-06-06 01:17:07 -05:00
Ryan Oldenburg 9ccbcf7347 small 2021-06-04 17:55:07 -05:00
Ryan Oldenburg c124b64eea f 2021-06-04 15:57:04 -05:00
Ryan Oldenburg 57ab45f7a1 2.0.4 2021-06-03 00:08:43 -05:00
Ryan Oldenburg 4096ed585a improve github actions 2021-06-02 23:58:43 -05:00
Ryan Oldenburg 6671103b35 rm duplicate 2021-06-01 01:49:50 -05:00
Ryan Oldenburg 3658ff40c3 context globalAlpha 2021-05-31 21:05:27 -05:00
Ryan Oldenburg 7ea0a37013 morepretty 2021-05-31 20:41:03 -05:00
Ryan Oldenburg 3b6474b565 underline, strikethrough 2021-05-31 20:33:11 -05:00
Ryan Oldenburg de8fda9a81 insertion sort hits faster 2021-05-30 14:54:27 -05:00
Ryan Oldenburg 940f421060 benchmark text 2021-05-29 22:28:53 -05:00
Ryan Oldenburg 9e9d78323f zippy output change 2021-05-29 22:28:38 -05:00
treeform 568c22a56a Merge branch 'master' of github.com:treeform/pixie 2021-05-29 16:26:38 -07:00
treeform b087dd23bd Add fill leak checker (use -d:pixieLeakCheck). 2021-05-29 16:26:31 -07:00
Ryan Oldenburg 382a3b73ce updated megatest images 2021-05-29 17:18:08 -05:00
Ryan Oldenburg 85ae6ab3a9 rename 2021-05-29 15:51:35 -05:00
Ryan Oldenburg 2f8fbcd792 leak fix 2021-05-29 02:26:14 -05:00
Ryan Oldenburg 271e019365 more emoji test 2021-05-28 22:39:59 -05: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
Ryan Oldenburg 056db32440 blur benchmark comparison 2021-05-24 19:52:04 -05:00
Ryan Oldenburg ca6d891757 rename 2021-05-24 19:43:08 -05:00
Ryan Oldenburg 5358ec6d19 image loop benchmark 2021-05-24 19:40:06 -05: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 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 67c55b0422 multiple layers test 2021-05-23 20:53:06 -05:00
Ryan Oldenburg b73b88bb63 layers 2021-05-23 20:47:32 -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
Ryan Oldenburg 41cd488ae3 context clip support 2021-05-22 21:43:42 -05:00
Ryan Oldenburg 5cc8e911d1 move image helpers from pixie.nim to context.nim 2021-05-21 00:54:55 -05:00
Ryan Oldenburg 0d65dffccc add context api 2021-05-19 00:06:02 -05:00
Ryan Oldenburg d87b423430 v2.0.0 add transform to pixie.nim helpers 2021-05-17 23:39:47 -05:00
treeform d37bed2f63 Fix image output diff. 2021-05-11 20:50:06 -07: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 f852d33ada add test 2021-05-11 22:40:39 -05:00
Ryan Oldenburg eae3b5e443 spans 2021-05-11 22:40:39 -05:00
Ryan Oldenburg f9064af992 test 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 11fdc30399 paint on font 2021-05-11 22:40:39 -05:00
Ryan Oldenburg 207608df04 diff img 2021-05-11 22:40:39 -05:00
Ryan Oldenburg ee79db8c88 trailing data test for png 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 84dd01fd00 update benchmark_fonts 2021-05-11 22:40:39 -05:00