Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 display.update(rect) vs. display.flip()
Index -> Programming, Python -> Python Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
shaon




PostPosted: Mon Jan 14, 2008 4:41 pm   Post subject: display.update(rect) vs. display.flip()

if I have to update 8 separate areas on the screen that don't overlap, would it be better to update those areas individually using display.update(rect) or just do it all in one line using display.flip() ?
Sponsor
Sponsor
Sponsor
sponsor
McKenzie




PostPosted: Mon Jan 14, 2008 5:13 pm   Post subject: Re: display.update(rect) vs. display.flip()

Actually you would use display.update(rectangle_list). You pass in a list of all the rectangles you need to update.
Display posts from previous:   
   Index -> Programming, Python -> Python Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: