Metadata-Version: 2.1
Name: easygraphics
Version: 0.9.2
Summary: "A TC Graphics style like Graphics Library"
Home-page: https://github.com/royqh1979/PyEasyGraphics
Author: Roy Qu
Author-email: royqh1979@gmail.com
License: GPLv3
Keywords: easygraphics,computer graphics,Turbo C graphics,Borland Graphics Interface
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) 
Classifier: Intended Audience :: Education
Classifier: Topic :: Multimedia :: Graphics
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: PyQt5

===============================
Introduction to PyEasyGraphics
===============================

A Borland Graphics Interface like Grahics library for python


`Borland Graphics Interface <https://en.wikipedia.org/wiki/Borland_Graphics_Interface />`_, also known
as `Turbo C Graphics <http://www.softwareandfinance.com/Turbo_C/Graphics/>`_, is an easy-to-use graphics library
bundled with Turbo C/Turbo C++/Borland C++.

Because it is easy to learn and use, it is very good for using for kids and beginners to learn basic programming ,
computer graphics.

.. image:: https://badge.fury.io/py/easygraphics.png
    :target: http://badge.fury.io/py/easygraphics

.. image:: https://pypip.in/d/easygraphics/badge.png
        :target: https://pypi.python.org/pypi/easygraphics

* Free software: GPL v3 license
* Documentation: https://pyeasygraphics.readthedocs.io/en/latest/

Sample program
----------------------
.. code:: python

    from easygraphics import *

    def mainloop():
        x = 0;
        set_color(Color.BLUE);
        set_fill_color(Color.GREEN);

        while is_run():
            x = ( x + 1 ) % 440;
            clear_device();
            draw_ellipse(x + 100, 200, 100, 100);
            delay_fps(60)

    init_graph(640, 480)
    mainloop()
    close_graph()


Special Thanks
---------------
Some code is taken from `easygui_qt<https://github.com/aroberge/easygui_qt/>`_ and
`qtutils <https://bitbucket.org/philipstarkey/qtutils>`_, thanks a lot!



History
=======
0.9.2
---------------------
 * add: easygraphics functions can run in the interactive mode (eg. IPython) correctly
 * add: dialogs (in **easygraphics.dialog** package, adopted from
    `easygui_qt<https://github.com/aroberge/easygui_qt/>`_ )
 * add: create and save to/from file
 * add image transforms (translate/rotate/scale)
 * add view port support
 * add sphinx docs
 * upload docs to readthedocs.org

0.9.1
---------------------
* add readme text
* add delay_fps() and rgb() functions

0.9.0
---------------------
* add keyboard and mouse message check and handle
* add simple dialogs ( from EasyGUI-Qt (https://github.com/aroberge/easygui_qt) and qtutils (https://bitbucket.org/philipstarkey/qtutils))


0.1.0
---------------------
* First release on github


