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.10.zip
(571.3 kB
view hashes)
Built Distributions
mglg-0.2.10-cp38-cp38-win_amd64.whl
(394.0 kB
view hashes)
mglg-0.2.10-cp37-cp37m-win_amd64.whl
(388.7 kB
view hashes)
mglg-0.2.10-cp36-cp36m-win_amd64.whl
(379.9 kB
view hashes)
Close
Hashes for mglg-0.2.10-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8869dea2dcdf073f9df0fc2b09fb8b2a8ae7fa7e3f3df3558a1bc663a8c411dc |
|
MD5 | 0dfb4130036d02b50b6ff708b8df3ac9 |
|
BLAKE2b-256 | 113064e08ee638db9d2bf4bde0b8e72f63a99d0b9a4bed6dfae69397e8cdb6d2 |
Close
Hashes for mglg-0.2.10-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb66c620d0c80a6995545206ecea1ec5e8536336d61540400afa7c2e00df3bee |
|
MD5 | 9e3fb33e6691f4ff77c3a43063384d37 |
|
BLAKE2b-256 | a64a6402045f67ea0c4892d0789d82730956fbe93d898fb572158c2d9fd070d3 |
Close
Hashes for mglg-0.2.10-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56b58c189d8b85bac59095506a1964045a75e078492d9cbc965128c8b21bc193 |
|
MD5 | ff6b913796e5c1b2de571b3eba07a053 |
|
BLAKE2b-256 | fc1b30d8cf413c96964099e79d7e537a81fd7b83aedbf9e483c03da4a0e07c99 |
Close
Hashes for mglg-0.2.10-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdcb71c63a954fc90c658fce1299cfaeda29a7b929bd8c9482c758bf85c3d082 |
|
MD5 | f01a691af8a33229192064e311cee7d8 |
|
BLAKE2b-256 | d7eb2c4f3568a59825bed550a77a51dd37a98e5a077ccf2be4bf45ee03c827d1 |
Close
Hashes for mglg-0.2.10-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ce40daae4e457033befddeafb1e9102677bd6c019795c0430a60cdc75c6ecf |
|
MD5 | fe08f8ce88e80c5b196b8607980a4f09 |
|
BLAKE2b-256 | b60667398ed1e314cdade6cb82eb0e33605f8b577beafe6b4cc77c77118f0927 |
Close
Hashes for mglg-0.2.10-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d842e2ac45b7888efec9c1cd6ddf5a0d52efbf9e84ed143682c35ef6d043b192 |
|
MD5 | 98e92e28aefd4f229ff42060bf5d9982 |
|
BLAKE2b-256 | 8a1b9b2f992aaa1a5a94a70d4d2f8df1492574f0f7152875bce4bfb399b67419 |
Close
Hashes for mglg-0.2.10-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b78fb6f407aacce4767703e5d5078b5fefbb5c263dd1f109e82f9f2fd3d4ea4b |
|
MD5 | fa36c4544b400a8c2dc4ef82fa449dbf |
|
BLAKE2b-256 | 617b841fe38f21d64a3b4f8f4936292ad869ede1f5fc582c1ebea964726472e5 |
Close
Hashes for mglg-0.2.10-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c020d8b8c199ac9f9b1f27f317cde9cdedd8cf4230dcba294a771e1ba6a5e5 |
|
MD5 | b0d0f35b2d16856ddc088c9d9c92bc5f |
|
BLAKE2b-256 | 847778d3100a52c2d23aae3b4ffa6b4afe20b2eea4350c78210bc5d38bd835d1 |
Close
Hashes for mglg-0.2.10-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60b50dfb82d7e8553716c3f8354bc590f3cd14706a88989e6a7feee47e9389e |
|
MD5 | 1a224d2295772d85705086f8b5f1d55f |
|
BLAKE2b-256 | e54e4a4c42b4a83ff4b94596b47b7bc30f6689e79f4338cd798d3922c27fc483 |
Close
Hashes for mglg-0.2.10-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58afada1ef280f1590aeae77a42b928ac8b5afbdaafc1a755ec4b0fa2dcbcd87 |
|
MD5 | 47ba908b288cd82bd0c4f1d71c5f0504 |
|
BLAKE2b-256 | 634bc1a93dd4feb40c7e8cdad6edc33f89c66aa197a9293784455a7a13beb6d3 |
Close
Hashes for mglg-0.2.10-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25991fed5cb74c3bc2d9b580a0121723e090d676755c997f2394ee5735cacc32 |
|
MD5 | 1fa30af3e7911af2f0e7f67b66be8046 |
|
BLAKE2b-256 | 9cb8accc89e8f9576e0860f7e516d4b9148104f8b9d7ddf0111184b7f146594d |
Close
Hashes for mglg-0.2.10-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a3d44e2fc8b4eba341a2a3f742674449b09cadc18890126a5f95514f293860 |
|
MD5 | eb32d7be49310805c8f5c08b0f6aceda |
|
BLAKE2b-256 | 9e8effa1fb4556861c3a527da14707a31ce689ecd89f919aebde09d1d2e727ff |