forked from pytroll/aggdraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGES
89 lines (58 loc) · 2.8 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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)