Commit graph

48 commits

Author SHA1 Message Date
Sergey Vartanov
2f80f532ef Support crater drawing. 2021-09-01 03:06:02 +03:00
Sergey Vartanov
b3560cfdc7 Add set_opacity command for icons. 2021-08-31 01:17:46 +03:00
Sergey Vartanov
cdeffc8758 Refactor type annotaions; get rid of minidom. 2021-08-28 03:19:51 +03:00
Sergey Vartanov
4c5209dabc Get use of map configuration. 2021-08-27 00:40:00 +03:00
Sergey Vartanov
fe2714c927 Add options to tile generation. 2021-08-25 23:56:49 +03:00
Sergey Vartanov
9555a5d74f Refactor entry point. 2021-08-24 23:01:41 +03:00
Sergey Vartanov
737e434260 Add type annotation for __init__. 2021-08-18 09:36:38 +03:00
Sergey Vartanov
3bcf026862 Refactor figures; get use of Python 3.9 features. 2021-08-18 08:38:33 +03:00
Sergey Vartanov
e5671fcf8f Fix code style. 2021-08-15 06:33:42 +03:00
Sergey Vartanov
6fd2c81235 Fix logging. 2021-08-03 01:46:36 +03:00
Sergey Vartanov
1765f56a20 Support icon SVG file verification. 2021-07-17 19:21:42 +03:00
Sergey Vartanov
ba4b338327 Add compiled matchers.
Compile matchers instead of creating new one every time.
2021-07-17 19:13:54 +03:00
Sergey Vartanov
070ed05c8c Reformat with Black. 2021-07-11 03:12:14 +03:00
Sergey Vartanov
557cc0cc98 Add color and outline options to icon drawing. 2021-07-10 19:26:06 +03:00
Sergey Vartanov
437b4e8cd9 Close #38: fix icon outline drawing. 2021-07-04 23:41:21 +03:00
Sergey Vartanov
9af7d5f2d9 Issue #39: fix shape direction processing. 2021-07-04 22:49:12 +03:00
Sergey Vartanov
bcb3425634 Ignore absent shape configuration. 2021-06-25 02:16:04 +03:00
Sergey Vartanov
f6d44b97bd Fix configuration parsing. 2021-06-22 02:57:12 +03:00
Sergey Vartanov
1cb0be535d Add shape identifier assertion. 2021-06-18 01:36:14 +03:00
Sergey Vartanov
1b45f3489f Add outline parameter for shape. 2021-06-13 01:59:53 +03:00
Sergey Vartanov
5a54e2ca2a Fix shape direction. 2021-06-11 01:19:18 +03:00
Sergey Vartanov
57735fad03 Change shape configuration. 2021-06-10 01:57:32 +03:00
Sergey Vartanov
3bb6439d7b Add icon collection class. 2021-06-10 00:07:52 +03:00
Sergey Vartanov
9fd2d869ff Fix icon sorting. 2021-06-08 02:07:14 +03:00
Sergey Vartanov
aad7b25202 Change icon sorting in grid.
Sort icons in grid by shape identifiers instead of tag priority.
2021-05-24 00:00:38 +03:00
Sergey Vartanov
7d6f3f4104 Fix #43: non deterministic icon grid generation. 2021-05-23 23:08:21 +03:00
Sergey Vartanov
bb70935c19 Change scheme format; support pathlib.
Change name documentation as well.
2021-05-22 01:37:58 +03:00
Sergey Vartanov
1b40087b18 Issue #39: support flipping icons horizontally.
If tags has "direction" key, direction is mostly to the left (to the
West), and shape for the icon is right directed, we flip the shape
horizontally.
2021-05-21 03:04:49 +03:00
Sergey Vartanov
d73e2b6a53 Add configuration to shape extractor. 2021-05-21 01:28:22 +03:00
Sergey Vartanov
77a0c0fdfe Add shape configuration. 2021-05-19 03:49:18 +03:00
Sergey Vartanov
c96462b2ee Support icon translating and scaling. 2021-05-19 02:58:33 +03:00
Sergey Vartanov
87789a9ef3 Add SVG transformation. 2021-05-19 02:58:33 +03:00
Sergey Vartanov
5d6dbb6c2c Add flip parameters. 2021-05-19 02:58:42 +03:00
Sergey Vartanov
310a631217 Fix some Pylint warnings. 2021-05-12 00:49:35 +03:00
Sergey Vartanov
063e3c5c4f Support white part repainting. 2021-05-11 03:30:02 +03:00
Sergey Vartanov
2b601b94a6 Fix icon color in grid. 2021-05-11 01:02:48 +03:00
Sergey Vartanov
792922fd86 Add class for shape collection. 2021-05-11 00:28:34 +03:00
Sergey Vartanov
8d9b1e93fb Support additional offset for icon shape. 2021-05-09 16:06:23 +03:00
Sergey Vartanov
bf4db29a1a Support color for icon shape.
* Create icon shape specification with color.
  * Change icon generation rules.
  * Add height label processing.
2021-05-09 05:04:38 +03:00
Sergey Vartanov
d3b84cc649 Refactor icon processing. 2021-05-02 11:22:39 +03:00
Sergey Vartanov
30cba81589 Fix standard IDs. 2021-05-02 10:49:38 +03:00
Sergey Vartanov
c4d7821f79 Refactor icons; update images. 2021-05-02 10:46:40 +03:00
Sergey Vartanov
ef921370fa Add standard SVG object ID checking. 2021-04-30 23:50:37 +03:00
Sergey Vartanov
e6e54cb044 Optimize imports. 2021-04-25 03:21:32 +03:00
Sergey Vartanov
813ad6b806 Add individual icon drawing; refactor. 2021-04-24 01:56:23 +03:00
Sergey Vartanov
d664364140 Issue #26: add preliminary fast overlap algorithm. 2020-09-30 02:39:10 +03:00
Sergey Vartanov
7b58dae764 Refactor point drawing.
Draw extra icons under main icon.
2020-09-27 00:45:18 +03:00
Sergey Vartanov
bbc28b4c61 Add icons. 2020-09-25 23:26:52 +03:00