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.17.zip
(458.7 kB
view hashes)
Built Distributions
mglg-0.2.17-cp38-cp38-win_amd64.whl
(328.8 kB
view hashes)
mglg-0.2.17-cp37-cp37m-win_amd64.whl
(324.0 kB
view hashes)
mglg-0.2.17-cp36-cp36m-win_amd64.whl
(317.0 kB
view hashes)
Close
Hashes for mglg-0.2.17-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cababca3b867205b2e431f23a4c7b9cce81b77dac293febc2e8cae17e8f6c47 |
|
MD5 | 92c8e8904d00693bf49b9b75791b6dc1 |
|
BLAKE2b-256 | d34d3e0356ff8af876dc64d6693d8998e9de9f4703ade9dbb5394f82330ce3dc |
Close
Hashes for mglg-0.2.17-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855881ff0f12e383af68b8131779d870febb076c8629048d01fed9efb3c571d4 |
|
MD5 | 068ab3a4203e277da5258b2993b22db7 |
|
BLAKE2b-256 | 02f020c35c6f7c7c182634b88fc57de666512d1faee027fe78e2a3025b8d3bbb |
Close
Hashes for mglg-0.2.17-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf90acc5390ee86e45b872cf5cd6403a825b0bb7ed450f2c67de1bd1b77c71c3 |
|
MD5 | e6d48a2f5c25d3453560c06c6828f38d |
|
BLAKE2b-256 | 25d41e76d0eccaf359974a48ee2268c5b4f2f9444939abbfda1a1a1d2e3a934f |
Close
Hashes for mglg-0.2.17-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba359fbc94c6d926f43fcc448ebffd7934652bd433bc75660265b8139ad43a4 |
|
MD5 | 635885f1ac66ae6af91f9dff038051f3 |
|
BLAKE2b-256 | e56018e0527248f029ae1c8d1d1341ece61c901998d3003f0a5750db2bd47097 |
Close
Hashes for mglg-0.2.17-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e36dd587b1dd166d22a986a830cc1c1cb5cd9ddbc040fb7892d0dd2940248266 |
|
MD5 | 4e456809e45dbbd0833c88efa72e9fd8 |
|
BLAKE2b-256 | 942d4e9c7315fb694e82bd96c9521610970a517d48d5677c2353d5840941323c |
Close
Hashes for mglg-0.2.17-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270410d99148a596029acdadbb52a2d1725e21543ed13f11eb643aeb72fdb87e |
|
MD5 | a2cf05987363591b952bebd19a72e714 |
|
BLAKE2b-256 | 44d8cd4e06aa9ec2d15bfae3a64bfc849f2ea4ee68cbf8728d98cfbf1c20d81d |
Close
Hashes for mglg-0.2.17-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f9aa66a2dc8ab73ace17f9a4fa5de9362bdbeefb21c597a837e6c776c003b9e |
|
MD5 | 42aa95c9c1b613fff546303945b16ae2 |
|
BLAKE2b-256 | d0e280f6db5cb3f62c3a1c04b920554f6f00aabce74730d0b1018731c15e607a |
Close
Hashes for mglg-0.2.17-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed775eed0de78d7f766e82219a8fa264c36c4a40a48bdb926c8073a3528e3904 |
|
MD5 | 465a3910a77991622ba81bd8ab5a9d5c |
|
BLAKE2b-256 | 61af0130ef36f6dbed6c712e9280f778074b3ae5abc9f6a821eb37c538e76b8c |
Close
Hashes for mglg-0.2.17-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ce43aa4b0ab2b0f40cf285950018702c1285a6d99be057d09b043f83f2d95d |
|
MD5 | ced7864a20f2e4be5946f989b3192897 |
|
BLAKE2b-256 | bb415ca3b9cc50afc26c247e1fad6358882f36a1eaaef36b95f5e6b3d37aa05d |
Close
Hashes for mglg-0.2.17-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935105189ec0069a13ae2ac1614b08984d972276e71c91f83928563675e0e855 |
|
MD5 | 2ab08d423dd273d6b378bde7806bf28e |
|
BLAKE2b-256 | 1adbc8fcecd726340a093d0fed83d776ba6f772301033b6f9b3ed37a2cfe8989 |
Close
Hashes for mglg-0.2.17-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f27e6a2648062c741844e4ba830a3d497fdab8c960abfb75d59a245557003c9 |
|
MD5 | 59f427c45b4ca1b8365a3fcb67044613 |
|
BLAKE2b-256 | f05a584cbabdef0d2cd2d1140bb2261d73829b7b0fad73bfe7665870147cb8cf |
Close
Hashes for mglg-0.2.17-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3d169dd4061a95673c334583a7811b5d30e9b2c17d1ee129e6c0c973d7aab9 |
|
MD5 | af4670903d93a6843977b748bc4693ae |
|
BLAKE2b-256 | 2616120a8999d4cde9c0295a2088b98c624d2efecbb78d456e424ad15a9cbf41 |