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.13.zip
(458.6 kB
view hashes)
Built Distributions
mglg-0.2.13-cp38-cp38-win_amd64.whl
(323.1 kB
view hashes)
mglg-0.2.13-cp37-cp37m-win_amd64.whl
(318.0 kB
view hashes)
mglg-0.2.13-cp36-cp36m-win_amd64.whl
(310.6 kB
view hashes)
Close
Hashes for mglg-0.2.13-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a34cc128229afb8492aa125127f0b4d8927cc33f3ca2d1de94778a161c15b2f |
|
MD5 | 1faabd9baafde3c5fdb91ea2ccd439f9 |
|
BLAKE2b-256 | 5d690893c31b1bc24ecb7d62e4938c455d64b16e771391e06b2ee6557cdfcb74 |
Close
Hashes for mglg-0.2.13-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e3647dfb61f662756b90a069a498637e02fd6442a004da9e6ed58b6b148747 |
|
MD5 | c9918781ec1b6042bb458bcfa17f3ac8 |
|
BLAKE2b-256 | 73d496ab7d8a41785e26b17adbbe9770790cea7bcf3eff603b894921ef7e7628 |
Close
Hashes for mglg-0.2.13-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cbc801ae8905960294eac57b43e0f1d6a75aabe59095dea23e1cacc1dd0348 |
|
MD5 | b0d905638213431d5510a90e3459200b |
|
BLAKE2b-256 | b7b318cb575751470b90de62abb6c5d023061c04e4cc2460a46c5c9d7c17b168 |
Close
Hashes for mglg-0.2.13-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866d5b084497fdb52f054d865c3e57c311fc8d0dd82be2683fe877b940fe9561 |
|
MD5 | cf90bcc7e4f0d70727b7349709f2a1fe |
|
BLAKE2b-256 | 53684142be9331c5ea5f235fd8f933f189f3a90166c665589afe1159561922d9 |
Close
Hashes for mglg-0.2.13-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c79b033c09d287db8a9537f82602339d1458868731007f2a404b338b9d444e6 |
|
MD5 | 3c68c59fef0afce918ebe0574595a2d2 |
|
BLAKE2b-256 | 5b1ebc43e016f8b47fcc5d875b4f5ba9aadf38e615911a8243aed9d8323d169f |
Close
Hashes for mglg-0.2.13-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74949cc3d8c0f1319c22ccab854e837e2504998b87c437c7874437ddf6a05490 |
|
MD5 | a2d9f0f54955b239a4d17aea2c8af4c5 |
|
BLAKE2b-256 | 37aaf0141ff5b9b321003cb756a67b4a062583a5034f06d1219b9e9bdb1060b3 |
Close
Hashes for mglg-0.2.13-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1254aa1c831eaee3bcd7b7b1d4d07a134768dda9078557c22541ea8a4b21aade |
|
MD5 | 0d392f7f9c2e2a42228984ed4bd74bca |
|
BLAKE2b-256 | 435da45e90c896bb1580354277d21322babffafd099bf0383b6344e083a664be |
Close
Hashes for mglg-0.2.13-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8cd9e6ec8472852a5c9a852d2a67b93bc9aafb9be6b77cce3b64b61ba016676 |
|
MD5 | 62730ff0f7dddb93274678c75711bf7a |
|
BLAKE2b-256 | b24ea88d334d56a92fe10f05c3b68a6ac438776cca902ab14fe9ab1784ddef4e |
Close
Hashes for mglg-0.2.13-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3874dcc09ed89d837da9ce110d0f76d5a07e478ba6ef805cb393d6b14e0e6e5e |
|
MD5 | 4c2cb715c11812b380bf53e6a85c4ba9 |
|
BLAKE2b-256 | 861ec9e92f042b9e234e02acec00aad9559b64b71b7049b60165d44154b7f408 |
Close
Hashes for mglg-0.2.13-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb762b5ada720784a8f9e586790473130f8f22beb07d2aea75b96154aed35629 |
|
MD5 | 4ec90290e0c75a9df953885b04511346 |
|
BLAKE2b-256 | be2ac8d0caa2ab2d45568626a6aaa7c419b57d005d5e11ca3b18905288d2cfbe |
Close
Hashes for mglg-0.2.13-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64291d53406e77c77e63e335d4cf40b5c9a12a32b8c1c52c54cf3ea9848e6cd3 |
|
MD5 | 1daf65141b29f88824bf9e9342d09a43 |
|
BLAKE2b-256 | 87ad7a05e8193034491c2f72a6025a5139139acf749837ca0441213065ee1380 |
Close
Hashes for mglg-0.2.13-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1fa2c5bec62d6ea16ce3247d2b065f774758d447ccc0d35f2e2c8dd8e7629ff |
|
MD5 | 8a535b8bbd91f382a9ea6bee8442144a |
|
BLAKE2b-256 | 7e7e767a2d9c253d2b32162973d111624d4856bcbd2f302e528e06ab062dacb5 |