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.14.zip
(458.8 kB
view hashes)
Built Distributions
mglg-0.2.14-cp38-cp38-win_amd64.whl
(323.2 kB
view hashes)
mglg-0.2.14-cp37-cp37m-win_amd64.whl
(318.1 kB
view hashes)
mglg-0.2.14-cp36-cp36m-win_amd64.whl
(310.7 kB
view hashes)
Close
Hashes for mglg-0.2.14-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57796df6022ba96297707aad73f986d2f4c3cb08291b5267bb0ee538c9359325 |
|
MD5 | 894d6398603c91b38b399254669c2700 |
|
BLAKE2b-256 | 86216142e9f6eba0deba0df9c6f32789326fabde1eba68d5d5e9f60228cf4f07 |
Close
Hashes for mglg-0.2.14-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f66dc88c4bd700d185b1b7c71e68e5fca63f70e2828d3bc80c0b17fb9f0833 |
|
MD5 | b09171e4412c45607736dd8c1d4b7ea4 |
|
BLAKE2b-256 | 2836b4236f6cb4a3edabfa9f7bd9ff02577dc92d26ed4d803b6e565b6437fd8e |
Close
Hashes for mglg-0.2.14-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42dcc49e7d292e4c79831c918c9675759fab352c78001b1f57f8293b7ccadae0 |
|
MD5 | 438fd6e1ea035283afccf0ed781375dd |
|
BLAKE2b-256 | 6daa44258506f0ad4982ed81f5e2dc3729af3209736a83a78c0ea830ee7aad76 |
Close
Hashes for mglg-0.2.14-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ef542e564890a09e0b3ea78732a2f9b921f077f01c1cd386242b674e8b1f3c |
|
MD5 | 285f6566c26e5cb0b972914d0ceb7fab |
|
BLAKE2b-256 | 51a67d05c99ba28f9030591bd8c5281971ecd53f834955492fb30a0ec49e5339 |
Close
Hashes for mglg-0.2.14-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cec6352b6b5365d7267fbc0315874792d5fb4068489bb709c0c2cba98c32a1f |
|
MD5 | 2eee816ee3ae72fcc3d770d4bff0f511 |
|
BLAKE2b-256 | 82f1a4e65930153106adee1fc6b3ffee2dac5651c1e0fe0948b470f743d00893 |
Close
Hashes for mglg-0.2.14-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0511c2b0edcb29d45029cd3aab40f4991a3aded9c9d0180fcbd27364d5ce1fe0 |
|
MD5 | 4c4279b9a5212f763e699e9869e38f71 |
|
BLAKE2b-256 | 939b4afd0cd816377de63fb51a67fb6883153df4e80a09d51398ffeabfa9f383 |
Close
Hashes for mglg-0.2.14-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fba944e522350a36d8bb605f758e5e3bf5e90460242669b851e8e622797a35 |
|
MD5 | 7c37b865b03b82a1750ad521f83a2f47 |
|
BLAKE2b-256 | c259dc17b0c823d49ea6499a24418414ad45fac795f58c23291eaed8543b4520 |
Close
Hashes for mglg-0.2.14-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104a60e14b25ebd11d92beb969d8340fd1d61ac6c84dc0664229ca5ce131c4e7 |
|
MD5 | 67ed9d38d914877b67af17a4421a656e |
|
BLAKE2b-256 | ec309fb75c02aef2c8d7f3ed5cf2362a77755399b8ce894af83846b2b016fc07 |
Close
Hashes for mglg-0.2.14-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a917e3d8896423aeb790c7dbd1330fd81c944b8710646ade937b4e47035457c8 |
|
MD5 | f2921e974be9c76aa2ce550d80e0c40e |
|
BLAKE2b-256 | 245722608525397c7c94c1d1acaf85d5d5877f08838912df7794b66df87e056e |
Close
Hashes for mglg-0.2.14-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 682040a6b7dee22a4a55c9d8cf4b29c56ebcfa6a5c6338cdd8ac8d8f1ae6c8bd |
|
MD5 | 0637f1f49bc20f2a95ea33bccd7d721a |
|
BLAKE2b-256 | ed660374155a962e11500e78d90a3ac7e92b5593e79c78b162c2e5db900c0b8e |
Close
Hashes for mglg-0.2.14-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4685f086748f4f81c31a7c22888b63e0cc509311755d7536160ff8271252a57b |
|
MD5 | d5da5e057692de14e4ad737ef9ccfe9e |
|
BLAKE2b-256 | 20cd8ee785a8ff8fe0573b76d52d5ffffaa8b9766ed5c8f12e208479156ce9c2 |
Close
Hashes for mglg-0.2.14-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a2eca894b353ab668de6138c0a542b5bbfbf78ee43762bad49d157ac9e65c5 |
|
MD5 | ae03c2cd6693eade9c41839453c37c5e |
|
BLAKE2b-256 | 3ac22b76c8f8744597830ec567fcb796f72e91e70ef398e6aad75eded2120bc0 |