Metadata-Version: 1.1
Name: PyBresenham
Version: 0.0.4
Summary: A cross-platform module for GUI automation for human beings. Control the keyboard and mouse from a Python script.
Home-page: https://github.com/asweigart/pybresenham
Author: Al Sweigart
Author-email: al@inventwithpython.com
License: BSD
Description-Content-Type: UNKNOWN
Description: ===========
        PyBresenham
        ===========
        
        A Python module of generators that generate x, y coordinates for various vector shapes such as lines, rectangles, etc. Named after Bresenham of line-algorithm fame.
        
        `pip install pybresenham`
        
        If you need the x, y coordinates that make up vector shapes such as lines, circles, etc., this module has generators that yield simple (x, y) tuples of the integer points in these shapes. This has applications anywhere you have a 2D grid of discrete points.
        
        For example:
        
            >>> import pybresenham
            >>> pybresenham.line(0, 0, 3, 6)
            <generator object line at 0x00000000030923B8>
            >>> list(pybresenham.line(0, 0, 3, 6))
            [(0, 0), (0, 1), (1, 2), (1, 3), (2, 4), (2, 5), (3, 6)]
        
        PyBresenham is currently under development, and is seeking contributors!
        
        The following functions aren't yet implemented:
        
        * ellipse()
        * ellipseVertices()
        * arc()
        * arcVertices()
        * star()
        * starVertices()
        * hexGrid()
        * hexGridVertices()
        * hexGridInterior()
        * bezier()
        * bezierVertices()
        * roundedBox()
        * roundedBoxVertices()
        
        The thickness, `filled`, `endcap`, and `viewport` parameters are still unimplemented. (Except for square() and rectangle(), which do implement the `filled` parameter.)
        
Keywords: bresenham line circle drawing 2D geometry shapes vector bitmap rotate rotation
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: X11 Applications
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
