-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c20b934
Showing
390 changed files
with
121,431 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
The Python Imaging Library: The aggdraw Module | ||
$Id: /work/modules/aggdraw/CHANGES 1180 2006-02-12T14:24:26.234348Z Fredrik $ | ||
|
||
*** Changes from release 1.1 to 1.2 *** | ||
|
||
(1.2a3 released) | ||
|
||
- Fixed crash when using type() or help() on aggdraw objects. | ||
|
||
- Fixed crash in Path() constructor. | ||
|
||
- Fixed some build issues under recent GCC versions. The compiler | ||
still issues more warnings than it should; I'll have to fix that | ||
in a future release. | ||
|
||
(1.2a2 released) | ||
|
||
- Changed 'expose' method to require keyword arguments. You can | ||
use 'hwnd' to pass in a window handle, or 'hdc' to pass in a | ||
device context: | ||
|
||
dib.expose(hwnd=window) | ||
dib.expose(hdc=dc) | ||
|
||
- Added 'clear' method. By default, it fills the entire image to | ||
the original background color. If you pass in a color name, it | ||
uses the given color instead. | ||
|
||
(1.2a1 released) | ||
|
||
- Added experimental 'Dib' support (based on code from the Python | ||
Imaging Library). The 'Dib' factory is similar to 'Draw', but | ||
allows the drawing context to be copied to the display. | ||
|
||
dib = Dib("RGB", size, background) | ||
|
||
... draw ... | ||
|
||
dib.expose(hwnd=wnd) | ||
|
||
- Fixed a couple of gcc compiler nits. | ||
|
||
*** Changes from release 1.0 to 1.1 *** | ||
|
||
(1.1 released) | ||
|
||
- Fixed rendering of symbols containing nested polygons (broken in | ||
1.1b3). | ||
|
||
- Added 'coords' method to the Path type. This returns the current | ||
path as a polyline. If the path consists of multiple path fragments, | ||
the return value is undefined. (experimental) | ||
|
||
(1.1b3 released) | ||
|
||
- The Windows installer now uses Freetype 2.1.10. This seems to fix | ||
the issue with irregular baselines reported for some fonts. | ||
|
||
- Performance: changes to how and when drawing adapters are created, | ||
and proper clipping in the rasterizer can result in massive speedups | ||
for some applications. | ||
|
||
- Added experimental 'setantialias' method to the drawing context. | ||
Pass in 0 to disable antialiasing, 1 to enable it. Antialiasing | ||
is enabled by default. | ||
|
||
- Adjust the size of filled objects (including polygons) depending | ||
on the pen width. If no pen is used, filled antialiased objects | ||
are expanded by a half pixel, to avoid banding. If a pen is used, | ||
the objects are shrunk by a half pen width. (experimental) | ||
|
||
(1.1b2 released; internal release only) | ||
|
||
- Fixed background color bug for non-RGBA images. The third | ||
argument to the Draw constructor now works properly for all | ||
modes. | ||
|
||
- Fixed big resource leak in the Draw(im) constructor. The alternate | ||
form (Draw(mode, size)) does not leak (reported by H�kan Karlsson). | ||
|
||
- Added Path object. Path objects can be used instead of coordinates | ||
with the 'line' and 'polygon' primitives. Path objects can also be | ||
used as symbols. | ||
|
||
(1.1b1 released) | ||
|
||
- Use ImageColor.getrgb to resolve colors, if available. | ||
|
||
(1.0 final released) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Metadata-Version: 1.0 | ||
Name: aggdraw | ||
Version: 1.2a3-20060212 | ||
Summary: High quality drawing interface for PIL. | ||
Home-page: http://www.effbot.org/zone/aggdraw.htm | ||
Author: Fredrik Lundh | ||
Author-email: fredrik@pythonware.com | ||
License: Python (MIT style) | ||
Download-URL: http://www.effbot.org/downloads#aggdraw | ||
Description: The aggdraw module implements the basic WCK 2D Drawing Interface on | ||
top of the AGG library. This library provides high-quality drawing, | ||
with anti-aliasing and alpha compositing, while being fully compatible | ||
with the WCK renderer. | ||
Platform: Python 2.1 and later. | ||
Classifier: Development Status :: 4 - Beta | ||
Classifier: Topic :: Multimedia :: Graphics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
================== | ||
The aggdraw module | ||
================== | ||
|
||
A high-quality graphics engine for PIL, based on Maxim Shemanarev's | ||
Anti-Grain Geometry library (from http://antigrain.com). | ||
|
||
The necessary AGG sources are included in the aggdraw source kit. | ||
|
||
Enjoy /F | ||
|
||
fredrik@pythonware.com | ||
http://www.pythonware.com | ||
|
||
-------------------------------------------------------------------- | ||
Build instructions (all platforms) | ||
-------------------------------------------------------------------- | ||
|
||
1. Check prerequisites. | ||
|
||
You need a C++ compiler to build this extension. | ||
|
||
The library comes with the necessary AGG sources included. | ||
|
||
The following additional libraries can be used: | ||
|
||
OpenType/TrueType freetype2 (2.1.10 or later is recommended) | ||
support | ||
http://www.freetype.org | ||
http://freetype.sourceforge.net | ||
|
||
2. Configure. | ||
|
||
To enable freetype, you need to build the library somewhere, and | ||
then change the FREETYPE_ROOT variable in aggdraw's setup.py file | ||
so it points to the build location. | ||
|
||
If you don't want or need freetype support, you can leave the | ||
variable as is, or set it to None. | ||
|
||
3. Build. | ||
|
||
The library uses a standard setup.py file, and you can use all | ||
standard setup.py commands. I recommend the following steps: | ||
|
||
$ python setup.py build_ext -i | ||
$ python selftest.py | ||
|
||
(if you're lazy, you can skip the above and just install the | ||
library; setup.py will make sure the right stuff is built before | ||
it's installed). | ||
|
||
4. Install. | ||
|
||
If the selftest succeeds, you can install the library: | ||
|
||
$ python setup.py install | ||
|
||
5. Enjoy! | ||
|
||
-------------------------------------------------------------------- | ||
License | ||
-------------------------------------------------------------------- | ||
|
||
Anti-Grain Geometry - Version 2.0 | ||
Copyright (c) 2002 Maxim Shemanarev (McSeem) | ||
|
||
Permission to copy, use, modify, sell and distribute this software | ||
is granted provided this copyright notice appears in all copies. | ||
This software is provided "as is" without express or implied | ||
warranty, and with no claim as to its suitability for any purpose. | ||
|
||
-------------------------------------------------------------------- | ||
|
||
The aggdraw interface, and associated modules and documentation are: | ||
|
||
Copyright (c) 2003-2006 by Secret Labs AB | ||
Copyright (c) 2003-2006 by Fredrik Lundh | ||
|
||
By obtaining, using, and/or copying this software and/or its | ||
associated documentation, you agree that you have read, understood, | ||
and will comply with the following terms and conditions: | ||
|
||
Permission to use, copy, modify, and distribute this software and its | ||
associated documentation for any purpose and without fee is hereby | ||
granted, provided that the above copyright notice appears in all | ||
copies, and that both that copyright notice and this permission notice | ||
appear in supporting documentation, and that the name of Secret Labs | ||
AB or the author not be used in advertising or publicity pertaining to | ||
distribution of the software without specific, written prior | ||
permission. | ||
|
||
SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO | ||
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT | ||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
-------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 31 | ||
/public/!svn/ver/2/aggdraw/agg2 | ||
END | ||
README.txt | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 42 | ||
/public/!svn/ver/2/aggdraw/agg2/README.txt | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
10 | ||
|
||
dir | ||
532 | ||
http://svn.effbot.org/public/aggdraw/agg2 | ||
http://svn.effbot.org/public | ||
|
||
|
||
|
||
2006-03-01T15:58:21.550029Z | ||
2 | ||
effbot | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
be285980-f00d-0410-a9fe-d4747b46ecd0 | ||
|
||
include | ||
dir | ||
|
||
src | ||
dir | ||
|
||
font_freetype | ||
dir | ||
|
||
README.txt | ||
file | ||
|
||
|
||
|
||
|
||
2011-10-14T08:43:46.000000Z | ||
8c483f60c7d08a470d6211914c7f1721 | ||
2006-03-01T15:58:21.550029Z | ||
2 | ||
effbot | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
487 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
The Anti-Grain Geometry Project | ||
A high quality rendering engine for C++ | ||
http://antigrain.com | ||
|
||
Anti-Grain Geometry - Version 2.0 | ||
Copyright (C) 2002 Maxim Shemanarev (McSeem) | ||
|
||
Permission to copy, use, modify, sell and distribute this software | ||
is granted provided this copyright notice appears in all copies. | ||
This software is provided "as is" without express or implied | ||
warranty, and with no claim as to its suitability for any purpose. | ||
|
||
|
||
|
||
TODO: write compilation/installation stuff | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
The Anti-Grain Geometry Project | ||
A high quality rendering engine for C++ | ||
http://antigrain.com | ||
|
||
Anti-Grain Geometry - Version 2.0 | ||
Copyright (C) 2002 Maxim Shemanarev (McSeem) | ||
|
||
Permission to copy, use, modify, sell and distribute this software | ||
is granted provided this copyright notice appears in all copies. | ||
This software is provided "as is" without express or implied | ||
warranty, and with no claim as to its suitability for any purpose. | ||
|
||
|
||
|
||
TODO: write compilation/installation stuff | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 45 | ||
/public/!svn/ver/2/aggdraw/agg2/font_freetype | ||
END | ||
agg_font_freetype.cpp | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 67 | ||
/public/!svn/ver/2/aggdraw/agg2/font_freetype/agg_font_freetype.cpp | ||
END | ||
agg_font_freetype.h | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 65 | ||
/public/!svn/ver/2/aggdraw/agg2/font_freetype/agg_font_freetype.h | ||
END |
Oops, something went wrong.