comparison docs/html/sdlupdaterects.html @ 55:55f1f1b3e27d

Added new docs for SDL 1.2.1
author Sam Lantinga <slouken@lokigames.com>
date Sun, 10 Jun 2001 19:31:57 +0000
parents 74212992fb08
children e5bc29de3f0a
comparison
equal deleted inserted replaced
54:028447a8a758 55:55f1f1b3e27d
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_UpdateRects</TITLE 4 >SDL_UpdateRects</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
71 >SDL_UpdateRects</A 71 >SDL_UpdateRects</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN938" 76 NAME="AEN977"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_UpdateRects&nbsp;--&nbsp;Makes sure the given list of rectangles is updated on the given screen.</DIV 80 >SDL_UpdateRects&nbsp;--&nbsp;Makes sure the given list of rectangles is updated on the given screen.</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN941" 84 NAME="AEN980"
85 ></A 85 ></A
86 ><H2 86 ><H2
87 >Synopsis</H2 87 >Synopsis</H2
88 ><DIV 88 ><DIV
89 CLASS="FUNCSYNOPSIS" 89 CLASS="FUNCSYNOPSIS"
90 ><A 90 ><A
91 NAME="AEN942" 91 NAME="AEN981"
92 ></A 92 ></A
93 ><P 93 ><P
94 ></P 94 ></P
95 ><PRE 95 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 96 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 110 ></DIV
111 ></DIV 111 ></DIV
112 ><DIV 112 ><DIV
113 CLASS="REFSECT1" 113 CLASS="REFSECT1"
114 ><A 114 ><A
115 NAME="AEN948" 115 NAME="AEN987"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >Makes sure the given list of rectangles is updated on the given screen.</P 120 >Makes sure the given list of rectangles is updated on the given screen.
121 The rectangles must all be confined within the screen boundaries (no
122 clipping is done).</P
121 ><P 123 ><P
122 >This function should not be called while <TT 124 >This function should not be called while <TT
123 CLASS="PARAMETER" 125 CLASS="PARAMETER"
124 ><I 126 ><I
125 >screen</I 127 >screen</I
126 ></TT 128 ></TT
127 > is 129 > is
128 <A 130 <A
129 HREF="sdllocksurface.html" 131 HREF="sdllocksurface.html"
130 >locked</A 132 >locked</A
131 >.&#13;</P 133 >.</P
134 ><DIV
135 CLASS="NOTE"
136 ><BLOCKQUOTE
137 CLASS="NOTE"
138 ><P
139 ><B
140 >Note: </B
141 >It is adviced to call this function only once per frame, since each
142 call has some processing overhead. This is no restriction since you
143 can pass any number of rectangles each time.</P
144 ><P
145 >The rectangles are not automatically merged or checked for overlap. In
146 general, the programmer can use his knowledge about his particular
147 rectangles to merge them in an efficient way, to avoid overdraw.</P
148 ></BLOCKQUOTE
149 ></DIV
132 ></DIV 150 ></DIV
133 ><DIV 151 ><DIV
134 CLASS="REFSECT1" 152 CLASS="REFSECT1"
135 ><A 153 ><A
136 NAME="AEN954" 154 NAME="AEN996"
137 ></A 155 ></A
138 ><H2 156 ><H2
139 >See Also</H2 157 >See Also</H2
140 ><P 158 ><P
141 ><A 159 ><A