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.11.zip
(571.3 kB
view hashes)
Built Distributions
mglg-0.2.11-cp38-cp38-win_amd64.whl
(394.0 kB
view hashes)
mglg-0.2.11-cp37-cp37m-win_amd64.whl
(388.7 kB
view hashes)
mglg-0.2.11-cp36-cp36m-win_amd64.whl
(379.9 kB
view hashes)
Close
Hashes for mglg-0.2.11-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d1064819cd5a08249b66302c1f33e5f1a0416bf9e0587c176ef19e325e19fa |
|
MD5 | 98c2c3c86e530e23b1c1cf2ade837858 |
|
BLAKE2b-256 | 41e303971edac85a37ac9ca7fee6a46fc698c3a526754f845c4ee00ff0eaa8a9 |
Close
Hashes for mglg-0.2.11-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b290a256bbc6e03cc972566672dae0a2a99755a822f4e45bb0b902c9bea142fc |
|
MD5 | a46e35aa816aa540ca28accaf788aaf6 |
|
BLAKE2b-256 | d390e66f74dd2a71fe670639fa3df44049a4208a558480233ec16e89508642f8 |
Close
Hashes for mglg-0.2.11-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf2e129638aec9b29f7c4828b6da441bd614d6080f7d1c73ebf306a56894e3e |
|
MD5 | 99df183ce29bdb3624facacade526729 |
|
BLAKE2b-256 | 5bbca63bcbf5e7357c20651f7a3e2e5acfc9b4929644765d1ff5050461e767e3 |
Close
Hashes for mglg-0.2.11-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0f749fa07bd7464386b900b53ffbebb3cd68c58cb1449009c8329ab01b55c45 |
|
MD5 | 7a199fa81598fa901188b09cccd82447 |
|
BLAKE2b-256 | ead67396f9ed48f195735e1fe8cba0b0a21d25bb667a2f60e47f7061800f2e2e |
Close
Hashes for mglg-0.2.11-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7a1e6cfba7cfde866c9a5a08e7758a38f7bd2b544d5c178e12a502ba490d8b1 |
|
MD5 | 81db088c0299552a6268cc25c2962e39 |
|
BLAKE2b-256 | 2ec5f2a203e9fea9add79c2aaffed19aa6c20437d481c0b14ae6b71ff1e331be |
Close
Hashes for mglg-0.2.11-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a59036b5c4f1793c81e579cdd0a12f263ab40a7f6e456c7fd853c9db379d18 |
|
MD5 | f729fe86bd26cf4ebd8df3fd359b3485 |
|
BLAKE2b-256 | db81721887d2490b3a5c10e2ce48fd6c02d2bb56068e818c729978b73c2b61b6 |
Close
Hashes for mglg-0.2.11-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978db423ecc9981177ede7b6a83b9297d45a846b4f3cc1ab7ec277ef8c5978d8 |
|
MD5 | cc4a6699ff6ee94909eae6ba0e3aa712 |
|
BLAKE2b-256 | e6cd87ebe32647ee366eb8adc118e86e7549d475f2692841f03e552312857469 |
Close
Hashes for mglg-0.2.11-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38b20ebc2a0456e1db881d83f1713a51d0bc4a20c1d598ba9eec11dbe99a352a |
|
MD5 | 742c993e733bc00e044e838966ae1fd3 |
|
BLAKE2b-256 | bd7303dd94a06cb67c49a98da568c87299a1b2b37d737d0cb529cf948554cb3b |
Close
Hashes for mglg-0.2.11-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09883882bb864e4452bb681d4c82e9d2e0e1d24c8c5f22f16504cca1151e76c4 |
|
MD5 | cab644983a95cb8df4bdf62a24378e1c |
|
BLAKE2b-256 | 574d6da33870ce46f7e7d4fc073ee27b0ef60744a3833acfa7b76ae4e83e10a4 |
Close
Hashes for mglg-0.2.11-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a54d7e4297e66f4db2ef234b816e62203002289df1169081f21d219f63ddc36 |
|
MD5 | 90a122e0988850808e2828fa1a20fd62 |
|
BLAKE2b-256 | 20ef47db87fd0f1a48f8d8097baa25db41d97281a772ae07407108c092b133d2 |
Close
Hashes for mglg-0.2.11-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd14cac2403bc01e6c0eba1d89555eb5c5fcf33f62b2a16d9d96adf057d5813 |
|
MD5 | 82b5fa49cb3e7a19f292a392f0cadca7 |
|
BLAKE2b-256 | f7c0ff07063c3bc9ed1eda2a317e07ec12c7d23e17a303a34eb4cbfe22acc067 |
Close
Hashes for mglg-0.2.11-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456840162c5075608ca2297405e8b9f181da9e5e4eecd3eec58d3d1dffba0f61 |
|
MD5 | 2a5b8d08f2b479aa0f0d0b2784ba41b9 |
|
BLAKE2b-256 | 5341ca89f20b12ea8370124337ca04d369a399f646a6be0e2bdd2a169b006940 |