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.8.zip
(580.1 kB
view hashes)
Built Distributions
mglg-0.2.8-cp38-cp38-win_amd64.whl
(393.8 kB
view hashes)
mglg-0.2.8-cp37-cp37m-win_amd64.whl
(388.5 kB
view hashes)
mglg-0.2.8-cp36-cp36m-win_amd64.whl
(379.6 kB
view hashes)
Close
Hashes for mglg-0.2.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98eab7d74cf914663ae07aaf2518c2b8410239454fd0b12e0f57f5bff64d4590 |
|
MD5 | 2c6c72f7ef3d3855fad3427b7b725d0d |
|
BLAKE2b-256 | 5678c9ab4097c096194c355ac4c94ff36675be85aacfd0b84b07cd97cbcd1cd5 |
Close
Hashes for mglg-0.2.8-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c995a9e394fa65e30acc54f8704d8a044f1879b245ace46d7f5ea92d15ceea05 |
|
MD5 | 15972ca3f699e70c251d0ae0c57b2c41 |
|
BLAKE2b-256 | 37ed13b5b24bada880acf0c916b75aa6c73a25522f113f7ff0b3238c118cb5eb |
Close
Hashes for mglg-0.2.8-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f9cae472d6fceeb3b5126515c4a6359cdaa319b9668a8b80d147baef9b77350 |
|
MD5 | ea39bbec76ae4b3ef4191c27d54195f0 |
|
BLAKE2b-256 | eb22ddd9526d0e797b63154908d65f3bd2bc0c78f08e71935379a246a80fd8fe |
Close
Hashes for mglg-0.2.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d880d842a92d416e14e8916664ceede7317374acc4738ef0121bc328661c48a2 |
|
MD5 | 65feb8c959bca190778103c4cb224821 |
|
BLAKE2b-256 | 8028bbb215a6c6141f7890dc60bc4d30297924965859398b2ff239fb92c1c43b |
Close
Hashes for mglg-0.2.8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46f8b0235ef67323f0470e98a37e6b1ff2bc046bd7b2dd2ac0dcb5327f9e75d7 |
|
MD5 | 3727316aab61b13ca51512f559936b43 |
|
BLAKE2b-256 | ecbb933fc446efc6d307654d77d63ba03fc1a56dc98e6e25c2ca5a426873393c |
Close
Hashes for mglg-0.2.8-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a6f02d9efe224421d2321195bffe834e97aca2a1df923c41c8d90c65987d63 |
|
MD5 | a4d83eb1807e43ce364caff73dae554a |
|
BLAKE2b-256 | 61f60119a6e7e9d5e9e17449f5306b959735d7b7ca0321b1f318b50ec6f6ccdc |
Close
Hashes for mglg-0.2.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f9d7f5263268f1d2d51d4a7c037678870604baf58025acf2bde53ce2963f89 |
|
MD5 | 849124c61d635d07f116022129468041 |
|
BLAKE2b-256 | 76379c6a07b6ca880411374d6af683e594872545d575abc215d83271ff0a0329 |
Close
Hashes for mglg-0.2.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 461256e6261baeab59bdda0fdeb1036d2a256310156cd8d13722e1200a13aa24 |
|
MD5 | b0dd67ac4585c6688f64bc86424a58eb |
|
BLAKE2b-256 | 099d0f97a9f10e384a2185088805ce021d8d8e8bea7738f104929f8c6d6461e6 |
Close
Hashes for mglg-0.2.8-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839f9fc92d4134c122759cd74f4c641271d631446d6ce2ea7b359b884a991ce5 |
|
MD5 | e0637fa959e550d613ff345c41e72c31 |
|
BLAKE2b-256 | ea8df75ad72ce5f38a5ee51933df81b42152d11e3cce00975531aa7236b20e8a |
Close
Hashes for mglg-0.2.8-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e01fef718d6e517d1c9af78b7d8609d75cdb347d288797d631793ee323d53b6 |
|
MD5 | 285f585cf56aeb61226ca7c53a68739f |
|
BLAKE2b-256 | e7cd8820a0a58c2cb9751a17f8963c8f8f9162792284bdfb114e9a6cd464dac4 |
Close
Hashes for mglg-0.2.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1448784dbee004017b663c2a9add8b1463d03f69150d99d57b6f729bf995ce67 |
|
MD5 | dc7d8a50f79296dae4b35be1ccbb64e2 |
|
BLAKE2b-256 | 3abd5dfd30c86f15841ede9be4a0a780bb762dd378d98e8e1c44428c4cb09af1 |
Close
Hashes for mglg-0.2.8-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7d66cb28d87234d683828c02c0e6c0648776bc986aa4668bd0925eb3230327 |
|
MD5 | 10c0363b2d22b430a005b60c181eb291 |
|
BLAKE2b-256 | d5add422379db6e4d72528204bfeb01e87b4a4a4016e24921d17cb58b2f2abd2 |