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.4.zip
(579.7 kB
view hashes)
Built Distributions
mglg-0.2.4-cp38-cp38-win_amd64.whl
(393.7 kB
view hashes)
mglg-0.2.4-cp37-cp37m-win_amd64.whl
(388.4 kB
view hashes)
mglg-0.2.4-cp36-cp36m-win_amd64.whl
(379.6 kB
view hashes)
Close
Hashes for mglg-0.2.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef853d156ed708a1b43ccba450c0d08f26380be7ec28cc5ef1f0f3fb98fd1d86 |
|
MD5 | a33ce5d9c643741a0805b771f4d92d0a |
|
BLAKE2b-256 | 4805002ee741b703084da2e69a06b059097371fd461af1e1813cacbb61e22356 |
Close
Hashes for mglg-0.2.4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6069c8f9e42a58c7c3402beb1dec3b34ff6c56a4166063fef827c8b8a1356fc |
|
MD5 | 32ff053307ee522fac6d3dc55dc7016e |
|
BLAKE2b-256 | cbd46afe3458fd4521129f7c4f8ca309783b1c3104d1e79959d77c8fa989d4b3 |
Close
Hashes for mglg-0.2.4-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b71e45c9c423f472493aff4bf87a95c528adbba75b5b15c36b00ca4618f8bc |
|
MD5 | cd41a5acc4562af05a34d70e02524e39 |
|
BLAKE2b-256 | 808142924e5b80d8e741cc34f251e63bc9e5e6d3fd4e648c07a16dec6c4fe14e |
Close
Hashes for mglg-0.2.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f47343f0afd1368e8d2de987ecacf84fa92fbcee77c857d3c906f84a6da445c |
|
MD5 | 17e3eaadccd26796ab33d83977946b81 |
|
BLAKE2b-256 | 40d3a9361deb4e08edbf66d548e1359deec615e210fc34137d929dac55d40486 |
Close
Hashes for mglg-0.2.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884ee96d103add99d1a84415102a512ae6bf8054b438c7f95791a4166b6e1b4f |
|
MD5 | 8473b634e83ee21d3b93faa4679d92f8 |
|
BLAKE2b-256 | 3ae62cac114d085be5540873ef3b70b1bf3c3ad45aebcc460112a7b3392dfe96 |
Close
Hashes for mglg-0.2.4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7314181ef1da31059400fd74bb70fe436ff31fca8f344dc17217529a63c0d594 |
|
MD5 | 111eb021787cf407c5918527dcbcc3fc |
|
BLAKE2b-256 | e484190acafba637005061b70441839229a1f8c2b5ce1108edda3c3483fcabbe |
Close
Hashes for mglg-0.2.4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e269cf0b467448e2e617bee2f2684d140e844098714b0493b014b79bd018c24 |
|
MD5 | cba4ab26f5e3372c78bca312860a93a3 |
|
BLAKE2b-256 | 639ae51c195ded00e87bd57d746c002adef7ce8f7fced6a22c5d8ee06b61aad8 |
Close
Hashes for mglg-0.2.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b00413eb79f95e6c694a467aa92e976fb9f07fe519211dbae2e11d73c1e49b0d |
|
MD5 | 134f271620dee6965f2c5d716facf63e |
|
BLAKE2b-256 | 452a0040065f63a962168510b9dc3411e3554785a886b9805bc4e67c283b37a0 |
Close
Hashes for mglg-0.2.4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9dd8ebc3f6fb07209cb05478da60fcfb2432bdbc2fddc007abca0294d1fcc35 |
|
MD5 | 36e9b54e8a2028b1566a01e32c434d6f |
|
BLAKE2b-256 | 7c90cd8f906ddbe5c289825224fe3365ab7aba66cc492dd4205d9122427b6d98 |
Close
Hashes for mglg-0.2.4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe2fa5bf260b4ca00df5986c7b899fb7c6aad3ce5d39787666802fe121fcd8f4 |
|
MD5 | 2ba7ab37f546ebddd141be9a75114fbd |
|
BLAKE2b-256 | 80c5018d8e4526b1d6279c9168ad655c5509f8ad0bee3edf9c9fc6a7f9cbfedb |
Close
Hashes for mglg-0.2.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16ad47a15bf352ea0771beebb0017018860b08ae5aeda9e3993017b33d54a07a |
|
MD5 | 97b51abacc36b83a361ddbd55096a139 |
|
BLAKE2b-256 | a9aed5fdd88b8cc59fb33ae162706dfe843a6111ee6f00ebab2e56fa2feb40f0 |
Close
Hashes for mglg-0.2.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2965a0ad7be8dc851fb27966df3f1c7a48d1515814d4f5b00175bf753331d0af |
|
MD5 | fab0ec4ae4dd0f3bf785b125832132e1 |
|
BLAKE2b-256 | 27557cf3def75fd0b420b616a30583ad44b9fa37695d3f2d4300bed9aa713353 |