No project description provided
Project description
Built-for-purpose, minimal 2D graphics library.
Working on documentation, but the file examples/jamboree.py is pretty comprehensive.
To pre-create the glyphs and atlas, there's a command line tool, e.g.:
python -m mglg.util.prebake_font examples\UbuntuMono-B.ttf fonts\
Which saves a pickled file (in this case, fonts\UbuntuMono-B.pklfont
) that includes the atlas, glyphs, and other info to avoid touching the font file. Add --view
to see the atlas.
freetype-py
is required to generate pickled fonts or do on-the-fly font loading, and can be installed either via pip install freetype-py
or pip install mglg[freetype]
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mglg-0.2.12.zip
(458.6 kB
view hashes)
Built Distributions
mglg-0.2.12-cp38-cp38-win_amd64.whl
(323.1 kB
view hashes)
mglg-0.2.12-cp37-cp37m-win_amd64.whl
(318.0 kB
view hashes)
mglg-0.2.12-cp36-cp36m-win_amd64.whl
(310.6 kB
view hashes)
Close
Hashes for mglg-0.2.12-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87006266b6f63540f01cec330019ab11802e4f1eba18e45bd4812f28f644e83 |
|
MD5 | 7bbc23b71a83d27b99346f144f5977ef |
|
BLAKE2b-256 | 9e6842968728967cb2750af336c716a8586c671981d4a98db6a5801b80d545cb |
Close
Hashes for mglg-0.2.12-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90c41c2d423370973b0b404c698409287a21c60817800627c1cdb7b1f065d521 |
|
MD5 | 15818f8a5913766f6b26812dedebbe2b |
|
BLAKE2b-256 | d828a4c4cee7186fd1f74731bdf10389d949bab0a460299e9d8aae14c3b74e27 |
Close
Hashes for mglg-0.2.12-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e993317d58362e4799caca1f4e759d02f63e084da62733db0ede38c98fd52cdc |
|
MD5 | 9411c0ac098ec79cc169be8493ef3141 |
|
BLAKE2b-256 | 2998791ff9f1fcb609e707b9dc6362ac2a201151a7fcb09699e89f2fd0fefd0c |
Close
Hashes for mglg-0.2.12-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125c624c625b7c426449e19109e9abca6497e7799df056fa9fb3b2c06a75ceb7 |
|
MD5 | b8131edfcb0bc655b7680f47fdf9347d |
|
BLAKE2b-256 | 3716f4db449117fcf01706b5ad5c7f5645ea2e1f15134a50c5010febbc2eda81 |
Close
Hashes for mglg-0.2.12-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1428d59600bb96a086c37860be3e8a745fc638920beebf6979f8d7c5ab7cdb9 |
|
MD5 | 96286e5c7cf3692d3c92331ddd1c0237 |
|
BLAKE2b-256 | 1779b9b0ac3050af5f564d77bf1ae602ad71c41cb6b67804e20c4a246003fc4b |
Close
Hashes for mglg-0.2.12-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b51ea419fdaf4b240e1a1c7d0ec9c2e671db827cc99d9fceb04c144389ab2c4c |
|
MD5 | 14646c9d0ecb6521ddb3bbb20bea0db7 |
|
BLAKE2b-256 | 0ead5d3b472139c1d93636e62ec5bb552723ccfff7474a3f3e289075a05da137 |
Close
Hashes for mglg-0.2.12-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab0b5513c62930f81d8a63b8f3d76382288aba50389c7b6f07f8526d648a908 |
|
MD5 | d1e724cf51a9764a82a361ce60d334a7 |
|
BLAKE2b-256 | 32048b7c42a44313c207b86b3eb33533f4dd6b5b911b3268abb55b8dc211fb51 |
Close
Hashes for mglg-0.2.12-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd45f1ca3c6ab71bc51aa3d13daae716612bb7d50e1bc18f1c86bb94991c8d8 |
|
MD5 | fb071be05e8aae45d247ed19ed214bfd |
|
BLAKE2b-256 | bf54ee7a7958eae1881eb9775638bbb2e8799bc0bebc3fe26c8c46f7804348eb |
Close
Hashes for mglg-0.2.12-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e87f545e03641cd6d84090577a0d4d483b6ec804613fb2312ee7702964bd1ca |
|
MD5 | 45aa0548f5d2670c0381b34825fc4b1b |
|
BLAKE2b-256 | 7ab44944322c60c6e2cb2e5bfd0482a44dbbba5c62b22ef008d6a23c511d5c11 |
Close
Hashes for mglg-0.2.12-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8afc073531c6f9d0ea5c1f4b0f6baed4e404d25012e6c5eb42643c04e1e943f |
|
MD5 | 09ad0ab365c77b368571eaf01c5f5d60 |
|
BLAKE2b-256 | 4fc9c956cd953786871af78c16bbb5fbc88259dc085a7af9edd4d01636fa6815 |
Close
Hashes for mglg-0.2.12-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97dff1d15d0de6be5b529ce2a5993362e57e131f044ce66101377adc7ddb6ee8 |
|
MD5 | d9663a73b37b71571df6b97c4e766037 |
|
BLAKE2b-256 | 3acf4ee35f18637c7b9e474689bee9b63877636d7ab916a468c1c5d196e786b6 |
Close
Hashes for mglg-0.2.12-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30cff563178a551253b37bd6a42012ad05d95d086831697eb2b5cc3686a448a9 |
|
MD5 | bbbd0891403504314d6a7705d6fc7500 |
|
BLAKE2b-256 | d45a2d8f862b54dab86146c0f978dd5262110a0beeac07e243f444884b060aa0 |