def to_stream(self): from ctypes import string_at str = Str(None) gtlib.gt_canvas_cairo_file_to_stream(self.canvas, str) return string_at(str.get_mem(), str.length())
def to_stream(self): from ctypes import string_at str = Str(None) gtlib.gt_canvas_cairo_file_to_stream(self.canvas, str._as_parameter_) return string_at(str.get_mem(), str.length())
def to_stream(self): from ctypes import string_at s = Str(None) gtlib.gt_graphics_save_to_stream(self.g, s._as_parameter_) return string_at(s.get_mem(), s.length())
def to_stream(self): from ctypes import string_at s = Str(None) gtlib.gt_graphics_save_to_stream(self.g, s) return string_at(s.get_mem(), s.length())