Commit 0587675
committed
Pull out more from graphics!
Refactor all of the color stuff into drawing/colors.py
and color_internals.py
Note drawing/color_internals.py used to be somewhat vague name
drawing/colors.py. But really it just had internal color routines.
drawing/colors.py was selected because that's what the Section name is
in WL https://reference.wolfram.com/language/guide/Colors.html and the
classes in there all into what's described there.
Down the line it would be nice to separate better externally visable
classes from all the implementaiton code that is not visiable, but
that's too big a lift for now.
Note: this started out as just an effort to document some of the
builtins that had no documentaiton.
And a little of that has been done too.1 parent 6517617 commit 0587675
File tree
12 files changed
+1119
-1058
lines changed- mathics/builtin
- box
- drawing
- test
12 files changed
+1119
-1058
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
1176 | 1174 | | |
1177 | 1175 | | |
1178 | 1176 | | |
1179 | | - | |
| 1177 | + | |
| 1178 | + | |
1180 | 1179 | | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1192 | 1191 | | |
1193 | 1192 | | |
1194 | | - | |
1195 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 21 | + | |
| 22 | + | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
809 | 802 | | |
810 | 803 | | |
811 | 804 | | |
812 | | - | |
| 805 | + | |
| 806 | + | |
813 | 807 | | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
818 | 812 | | |
819 | 813 | | |
0 commit comments