Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions kiva/agg/src/gtk1/plat_support.i
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ namespace agg24
self.bmp_array = pixel_map_as_unowned_array(self)
return self

def draw_to_tkwindow(self, window, x, y):
window_id = window._tk_widget.winfo_id()
self.draw(window_id, x, y)
return

def draw_to_wxwindow(self, window, x, y):
window_id = window.GetHandle()
self.draw(window_id, x, y)
Expand Down
7 changes: 0 additions & 7 deletions kiva/agg/src/win32/plat_support.i
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ namespace agg24
self.bmp_array = pixel_map_as_unowned_array(self)
return self

def draw_to_tkwindow(self, window, x, y):
window_id = window._tk_widget.winfo_id()
hdc = GetDC(window_id)
self.draw(hdc, x, y)
ReleaseDC(window_id, hdc)
return

def draw_to_wxwindow(self, window, x, y, width=-1, height=-1):
window_dc = getattr(window,'_dc',None)
if window_dc is None:
Expand Down
5 changes: 0 additions & 5 deletions kiva/agg/src/x11/plat_support.i
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ namespace agg24
self.bmp_array = pixel_map_as_unowned_array(self)
return self

def draw_to_tkwindow(self, window, x, y):
window_id = window._tk_widget.winfo_id()
self.draw(window_id, x, y)
return

def draw_to_wxwindow(self, window, x, y):
import wx
window_dc = getattr(window,'_dc',None)
Expand Down