148
148
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 750, 750)
149
149
cr = cairo.Context(surface)
150
150
draw_sudoku(cr, sudoku, played, size, 100, 250, border_color, line_color)
152
True, 8, surface.get_width(), surface.get_height(), surface.get_stride())
151
pb = Gdk.pixbuf_get_from_surface(surface, 0, 0, surface.get_width(), surface.get_height())