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.16.zip
(458.5 kB
view hashes)
Built Distributions
mglg-0.2.16-cp38-cp38-win_amd64.whl
(328.5 kB
view hashes)
mglg-0.2.16-cp37-cp37m-win_amd64.whl
(323.7 kB
view hashes)
mglg-0.2.16-cp36-cp36m-win_amd64.whl
(316.7 kB
view hashes)
Close
Hashes for mglg-0.2.16-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc91ff6a0842f5b38c516136789a921af1485241c0e39d97e03fcbac797542a |
|
MD5 | a620329a6d1c5db5c3afe98d0dd5a1dc |
|
BLAKE2b-256 | d1874d46e0cc3240db7b9d1d0a36b8b6219e20aa14fe2ca1a83dcd6f7631b9ee |
Close
Hashes for mglg-0.2.16-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4cc651a7fa18594bba7e323494486e910e131d65140314f508abbc72e68fb4 |
|
MD5 | b19e5e9ecb558f271ae0280cb9b7991f |
|
BLAKE2b-256 | 1b22fbd958c0d6bb4bb9f483d80ec04df6f18e34fec72cef27438e7ab5a49ac6 |
Close
Hashes for mglg-0.2.16-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf89bdf8ce9b451d35c6a121f0cca60875876002389d662b214f07b0ea01dd9 |
|
MD5 | d561ca1224b24e08ba04d3f8c63a6569 |
|
BLAKE2b-256 | bdf0bfef7069e3fb0d7f88f35b1c5810d42ff01225296ce2a2cbb8658ea275ac |
Close
Hashes for mglg-0.2.16-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feaa13e4d4acf24f962506a582ea7b8c390235347e7faa1e06364e46d7863d17 |
|
MD5 | fce59820c317cb52c2f62f77fbffc758 |
|
BLAKE2b-256 | 01b97c7409b0056f87e52ff8996b2de64fabeca77f6bf57a9dd82652ef16c668 |
Close
Hashes for mglg-0.2.16-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee0b91d4c93bd7853dbf175792299efb2af74a95b97f2bb8ab12dd2e1772aa2 |
|
MD5 | 900d4ede7afa5be3c8bfc7711b17ba45 |
|
BLAKE2b-256 | 1a81a83ec574c948e3f18f3bc539c1dc5e151544acc586b1eb42b1189b019c6d |
Close
Hashes for mglg-0.2.16-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6fb2961bdf2071c0702a6b3201aa7cec60d9e646449257b3dc868d87e2d580f |
|
MD5 | 65f37919dd56ad8ae596007a08ff22da |
|
BLAKE2b-256 | 83130481b333badec68f1a8a762b39dee98a3b514f851053a373907dc142922e |
Close
Hashes for mglg-0.2.16-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6fc5e7b924dd1e157f353249affad91beec23af94d19a85b48562ae379887a |
|
MD5 | 10a2b031b8268e2b9f5cdfce2e585173 |
|
BLAKE2b-256 | 744029ddb5cd3e07b7150ce2f8c1466d3e67ef22b958f8cfa7544510fcb99de6 |
Close
Hashes for mglg-0.2.16-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247ab6cfa92ab480f77aa7ef3c8cd4b790f34b2f349fc2f41954bdbecade33e6 |
|
MD5 | cdc59a4ab769207f6ce7c7145b5db1e9 |
|
BLAKE2b-256 | 961432dc3d869e9a15a9837eaad50afe5166a5c884781d2f4448051168bcf909 |
Close
Hashes for mglg-0.2.16-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783e7f0d84f17184569c7f3183db55063a7394b4a85c814070ae15434780a635 |
|
MD5 | ac3784bcfe89ab81dc8e17a87a63d04b |
|
BLAKE2b-256 | 5e1df4481d892abc0f10efd03ca00c37a86a5d826245cce59a842e7b42888fe4 |
Close
Hashes for mglg-0.2.16-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feba03e736d76e22100dbab450401db0deb10c7e23b65ec464df95408032ec0f |
|
MD5 | 34c227571b296afcdc6202931d76bac8 |
|
BLAKE2b-256 | fd0050e6825f07c06f3a08efcf02099bec43ff7f93fd3dbeabb7d452f747749b |
Close
Hashes for mglg-0.2.16-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb427f4eddf98aa533e77039c02c78e924d38ece157606eba8762459544fafc |
|
MD5 | 4e60bb0b0c6943793a44bd99e557cffd |
|
BLAKE2b-256 | 186a15e31afe3649be0627da63354a758fb8d60db9627363bb23bcdae1169749 |
Close
Hashes for mglg-0.2.16-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6702b53bde6ed275932f6929e660332e17c373463b3f546bb872a80da273bf5b |
|
MD5 | e590fb9424a952fa29db2ea7bce5d633 |
|
BLAKE2b-256 | 59e4999ad4c06219af8683b5cb807627242d4ebf22bccf7c26d4b33d7f454b7d |