8000 fixed const_iter problem with wrapper for updated agg23 · matplotlib/matplotlib@74bd9f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 74bd9f3

Browse files
committed
fixed const_iter problem with wrapper for updated agg23
svn path=/trunk/matplotlib/; revision=1376
1 parent 54cc5fa commit 74bd9f3

File tree

5 files changed

+821
-197
lines changed

5 files changed

+821
-197
lines changed

CHANGELOG

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
New entries should be added at the top
22

33
2005-05-27 Finally found the pesky agg bug (which Maxim was kind
4-
enough to fix withing hours) that was causing a segfault in
4+
enough to fix within hours) that was causing a segfault in
55
the win32 cached marker drawing. Now windows users can get
66
the enormouse performance benefits of caced markers w/o
7-
those occasional pesy screenshots.
7+
those occasional pesy screenshots. - JDH
88

99
2005-05-27 Got win32 build system working again, using a more recent
1010
version of gtk and pygtk in the win32 build, gtk 2.6 from

lib/matplotlib/agg.py

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@ def __repr__(self):
947947
def __init__(self, *args):
948948
_swig_setattr(self, pixel_format_rgba, 'this', _agg.new_pixel_format_rgba(*args))
949949
_swig_setattr(self, pixel_format_rgba, 'thisown', 1)
950+
def attach(*args): return _agg.pixel_format_rgba_attach(*args)
950951
def width(*args): return _agg.pixel_format_rgba_width(*args)
951952
def height(*args): return _agg.pixel_format_rgba_height(*args)
952953
def pixel(*args): return _agg.pixel_format_rgba_pixel(*args)
@@ -989,6 +990,7 @@ def __repr__(self):
989990
def __init__(self, *args):
990991
_swig_setattr(self, renderer_base_rgba, 'this', _agg.new_renderer_base_rgba(*args))
991992
_swig_setattr(self, renderer_base_rgba, 'thisown', 1)
993+
def attach(*args): return _agg.renderer_base_rgba_attach(*args)
992994
def ren(*args): return _agg.renderer_base_rgba_ren(*args)
993995
def width(*args): return _agg.renderer_base_rgba_width(*args)
994996
def height(*args): return _agg.renderer_base_rgba_height(*args)
@@ -1576,6 +1578,7 @@ def __repr__(self):
15761578
def __init__(self, *args):
15771579
_swig_setattr(self, renderer_scanline_aa_solid_rgba, 'this', _agg.new_renderer_scanline_aa_solid_rgba(*args))
15781580
_swig_setattr(self, renderer_scanline_aa_solid_rgba, 'thisown', 1)
1581+
def attach(*args): return _agg.renderer_scanline_aa_solid_rgba_attach(*args)
15791582
def color(*args): return _agg.renderer_scanline_aa_solid_rgba_color(*args)
15801583
def prepare(*args): return _agg.renderer_scanline_aa_solid_rgba_prepare(*args)
15811584
def color_rgba8(*args): return _agg.renderer_scanline_aa_solid_rgba_color_rgba8(*args)
@@ -1603,6 +1606,7 @@ def __repr__(self):
16031606
def __init__(self, *args):
16041607
_swig_setattr(self, renderer_scanline_bin_solid_rgba, 'this', _agg.new_renderer_scanline_bin_solid_rgba(*args))
16051608
_swig_setattr(self, renderer_scanline_bin_solid_rgba, 'thisown', 1)
1609+
def attach(*args): return _agg.renderer_scanline_bin_solid_rgba_attach(*args)
16061610
def color(*args): return _agg.renderer_scanline_bin_solid_rgba_color(*args)
16071611
def prepare(*args): return _agg.renderer_scanline_bin_solid_rgba_prepare(*args)
16081612
def color_rgba8(*args): return _agg.renderer_scanline_bin_solid_rgba_color_rgba8(*args)
@@ -1669,13 +1673,12 @@ def __init__(self, *args):
16691673
_swig_setattr(self, scanline_bin, 'thisown', 1)
16701674
def reset(*args): return _agg.scanline_bin_reset(*args)
16711675
def add_cell(*args): return _agg.scanline_bin_add_cell(*args)
1672-
def add_cells(*args): return _agg.scanline_bin_add_cells(*args)
16731676
def add_span(*args): return _agg.scanline_bin_add_span(*args)
1677+
def add_cells(*args): return _agg.scanline_bin_add_cells(*args)
16741678
def finalize(*args): return _agg.scanline_bin_finalize(*args)
16751679
def reset_spans(*args): return _agg.scanline_bin_reset_spans(*args)
16761680
def y(*args): return _agg.scanline_bin_y(*args)
16771681
def num_spans(*args): return _agg.scanline_bin_num_spans(*args)
1678-
def begin(*args): return _agg.scanline_bin_begin(*args)
16791682

16801683
class scanline_binPtr(scanline_bin):
16811684
def __init__(self, this):
@@ -1684,6 +1687,37 @@ def __init__(self, this):
16841687
_swig_setattr(self, scanline_bin,self.__class__,scanline_bin)
16851688
_agg.scanline_bin_swigregister(scanline_binPtr)
16861689

1690+
class scanline32_bin(_object):
1691+
__swig_setmethods__ = {}
1692+
__setattr__ = lambda self, name, value: _swig_setattr(self, scanline32_bin, name, value)
1693+
__swig_getmethods__ = {}
1694+
__getattr__ = lambda self, name: _swig_getattr(self, scanline32_bin, name)
1695+
def __repr__(self):
1696+
return "<%s.%s; proxy of C++ agg::scanline32_bin instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1697+
def __del__(self, destroy=_agg.delete_scanline32_bin):
1698+
try:
1699+
if self.thisown: destroy(self)
1700+
except: pass
1701+
1702+
def __init__(self, *args):
1703+
_swig_setattr(self, scanline32_bin, 'this', _agg.new_scanline32_bin(*args))
1704+
_swig_setattr(self, scanline32_bin, 'thisown', 1)
1705+
def reset(*args): return _agg.scanline32_bin_reset(*args)
1706+
def add_cell(*args): return _agg.scanline32_bin_add_cell(*args)
1707+
def add_span(*args): return _agg.scanline32_bin_add_span(*args)
1708+
def add_cells(*args): return _agg.scanline32_bin_add_cells(*args)
1709+
def finalize(*args): return _agg.scanline32_bin_finalize(*args)
1710+
def reset_spans(*args): return _agg.scanline32_bin_reset_spans(*args)
1711+
def y(*args): return _agg.scanline32_bin_y(*args)
1712+
def num_spans(*args): return _agg.scanline32_bin_num_spans(*args)
1713+
1714+
class scanline32_binPtr(scanline32_bin):
1715+
def __init__(self, this):
1716+
_swig_setattr(self, scanline32_bin, 'this', this)
1717+
if not hasattr(self,"thisown"): _swig_setattr(self, scanline32_bin, 'thisown', 0)
1718+
_swig_setattr(self, scanline32_bin,self.__class__,scanline32_bin)
1719+
_agg.scanline32_bin_swigregister(scanline32_binPtr)
1720+
16871721

16881722
render_scanlines_rgba = _agg.render_scanlines_rgba
16891723

0 commit comments

Comments
 (0)
0