Re: Surface batch methods... Re: [pygame] API draft for vector type

2009-04-29 Thread Lenard Lindstrom
Quoting Casey Duncan : > > Also, I was assuming that color_array (aka colors) and rect_array (aka > rects) would only accept array buffers and not arbitrary sequences of > Color, Rect or tuple, but you seem to be implying support for the > latter. Is that right? > Hi Casey, See _arraysurfa

Re: Surface batch methods... Re: [pygame] API draft for vector type

2009-04-29 Thread Casey Duncan
On Apr 28, 2009, at 11:09 PM, René Dudfield wrote: [..] fill_multi might look like this: Surface.fill_multi(color, rects, special_flags=0) Basically the same as the fill() except the first two arguments accept buffer objects that are arrays of colors and rects respectively. I think it wo

Surface batch methods... Re: [pygame] API draft for vector type

2009-04-28 Thread René Dudfield
On Wed, Apr 29, 2009 at 2:35 PM, Casey Duncan wrote: > On Apr 28, 2009, at 8:41 PM, René Dudfield wrote: > >> On Wed, Apr 29, 2009 at 2:29 AM, Casey Duncan wrote: >>> >>> Surface.fill_multi and Surface.blit_multi would be awesome for particle >>> effects, in fact I could take good advantage of th