home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_UpdateRects.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.8 KB  |  53 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_UpdateRects"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_UpdateRects- Makes sure the given list of rectangles is updated
  13. on the given screen. 
  14. <h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
  15. <p>
  16. <b>#include "SDL.h" <p>
  17. </b><b>void <b>SDL_UpdateRects</b></b>(<b>SDL_Surface
  18. *screen, int numrects, SDL_Rect *rects</b>); 
  19. <h2><a name='sect2' href='#toc2'>Description</a></h2>
  20. <p>
  21. Makes sure the given
  22. list of rectangles is updated on the given screen. The rectangles must all
  23. be confined within the screen boundaries (no clipping is done). <p>
  24. This function
  25. should not be called while <b>screen</b> is <i>locked</i>. <p>
  26. <blockquote><b>Note:   <p>
  27. It is adviced to call
  28. this function only once per frame, since each call has some processing
  29. overhead. This is no restriction since you can pass any number of rectangles
  30. each time. <p>
  31. The rectangles are not automatically merged or checked for overlap.
  32. In general, the programmer can use his knowledge about his particular rectangles
  33. to merge them in an efficient way, to avoid overdraw. </blockquote>
  34.  
  35. <h2><a name='sect3' href='#toc3'></b>See Also</a></h2>
  36. <p>
  37. <i><b>SDL_UpdateRect</b></i>,
  38. <i><b>SDL_Rect</b></i>, <i><b>SDL_Surface</b></i>, <i><b>SDL_LockSurface</b></i> 
  39. <!--
  40.   
  41.  <p>
  42.  
  43. <hr><p>
  44. <a name='toc'><b>Table of Contents</b></a><p>
  45. <ul>
  46. <li><a name='toc0' href='#sect0'>Name</a></li>
  47. <li><a name='toc1' href='#sect1'>Synopsis</a></li>
  48. <li><a name='toc2' href='#sect2'>Description</a></li>
  49. <li><a name='toc3' href='#sect3'>See Also</a></li>
  50. </ul>
  51. </body>
  52. </html>
  53.