Jonas Jenwald
ebe3ee4f25
Modernize the Shadings
structure, in src/core/pattern.js
, to use standard classes
...
This patch replaces the old structure with a abstract base-class, which the new RadialAxial/Mesh-shading classes then inherit from.[1]
The old `MeshClosure` can now be removed, since it's not necessary any more, and most of the functions inside of it are now instead methods on the new `MeshShading` class. This is particularly nice, in my opinion, since we previously were *manually* passing around a reference to the current `Mesh`-instance.
---
[1] If we want/need to, in the future, split e.g. the Mesh-handling into multiple classes that should now be easy to do.
2021-05-14 21:44:41 +02:00
..
2021-04-12 14:13:49 +02:00
2021-03-13 16:12:53 +01:00
2021-05-03 15:46:29 +02:00
2020-10-03 20:15:29 +02:00
2021-04-28 10:16:51 +02:00
2021-04-28 10:16:51 +02:00
2021-05-01 19:20:36 +02:00
2020-10-03 20:15:29 +02:00
2021-05-03 15:46:29 +02:00
2021-04-28 10:16:51 +02:00
2021-04-27 13:29:09 +02:00
2021-05-02 21:00:29 +02:00
2021-03-26 18:23:18 +01:00
2021-01-09 20:37:51 +01:00
2021-04-28 14:05:25 +02:00
2021-04-25 17:40:00 +02:00
2021-02-10 12:28:49 +01:00
2021-05-01 19:20:36 +02:00
2021-05-02 13:32:34 +02:00
2021-04-28 13:44:47 +02:00
2021-04-28 10:16:51 +02:00
2021-04-01 16:47:30 +02:00
2021-05-01 19:20:36 +02:00
2021-01-09 20:37:51 +01:00
2021-05-13 11:19:46 +02:00
2021-04-13 21:00:30 +02:00
2021-04-28 10:16:51 +02:00
2021-05-05 22:35:52 +02:00
2021-05-02 21:00:29 +02:00
2021-05-03 13:57:25 +02:00
2021-05-01 20:04:58 +02:00
2021-02-27 12:46:57 +01:00
2021-01-28 10:19:26 +01:00
2021-04-28 10:16:51 +02:00
2021-04-28 13:44:47 +02:00
2021-05-05 14:02:21 +02:00
2021-04-28 13:44:47 +02:00
2021-05-05 14:02:21 +02:00
2021-04-28 13:44:47 +02:00
2021-05-05 14:02:21 +02:00
2021-04-28 10:16:51 +02:00
2021-02-17 13:12:01 +01:00
2021-02-27 12:44:45 +01:00
2020-10-26 16:27:33 +01:00
2021-04-22 13:15:50 +02:00
2021-04-28 13:44:47 +02:00
2021-05-02 21:00:28 +02:00
2021-03-14 11:49:31 +01:00
2021-04-28 13:44:47 +02:00
2021-05-14 21:44:41 +02:00
2021-04-15 17:57:42 +02:00
2021-05-05 13:24:12 +02:00
2021-05-12 09:36:28 +02:00
2020-10-03 20:15:29 +02:00
2021-04-28 10:16:51 +02:00
2021-01-09 20:37:51 +01:00
2021-04-28 13:44:45 +02:00
2021-04-13 21:00:30 +02:00
2021-05-02 21:00:29 +02:00
2021-05-03 13:57:30 +02:00
2021-03-12 12:16:50 +01:00
2021-02-27 13:20:09 +01:00
2021-04-24 13:00:19 +02:00
2021-04-25 17:40:00 +02:00
2021-05-01 19:20:36 +02:00
2021-02-17 13:12:01 +01:00
2021-04-13 21:00:30 +02:00