mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Python Imaging Library (Fork)
be09da6507
The previous version of the function didn't generate correct wide lines of even width. The most notable changes are: * Make variable names far more descriptive about the process. * Corrected the width calculation; we should deduct one pixel from the width because the pixels at the center of the line doesn't count for the triangles. * Now we calculate *two* ratios, one for left/top displacement (dxmin) and one for right/bottom (dxmax), this fix the behavior with lines of even width. It can probably be optimized. |
||
---|---|---|
depends | ||
docs | ||
Images | ||
libImaging | ||
PIL | ||
Sane | ||
Scripts | ||
Tests | ||
Tk | ||
_imaging.c | ||
_imagingcms.c | ||
_imagingft.c | ||
_imagingmath.c | ||
_imagingtk.c | ||
_webp.c | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CHANGES.rst | ||
decode.c | ||
display.c | ||
encode.c | ||
Makefile | ||
MANIFEST.in | ||
map.c | ||
outline.c | ||
path.c | ||
py3.h | ||
README.rst | ||
selftest.py | ||
setup.py | ||
tox.ini |
Pillow ====== *Python Imaging Library (Fork)* Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. .. image:: https://travis-ci.org/python-imaging/Pillow.png :target: https://travis-ci.org/python-imaging/Pillow .. image:: https://pypip.in/v/Pillow/badge.png :target: https://pypi.python.org/pypi/Pillow/ :alt: Latest PyPI version .. image:: https://pypip.in/d/Pillow/badge.png :target: https://pypi.python.org/pypi/Pillow/ :alt: Number of PyPI downloads The documentation is hosted at http://pillow.readthedocs.org/. It contains installation instructions, tutorials, reference, compatibility details, and more.