Definition at line 138 of file BasicTypes.h. References bottom, left, right, and top. 00139 { 00140 if(left<clip.left) 00141 { 00142 left=clip.left; 00143 if(right<left) 00144 right=left; 00145 } 00146 if(top<clip.top) 00147 { 00148 top=clip.top; 00149 if(bottom<top) 00150 bottom=top; 00151 } 00152 if(right>clip.right) 00153 { 00154 right=clip.right; 00155 if(left>right) 00156 left=right; 00157 } 00158 if(bottom>clip.bottom) 00159 { 00160 bottom=clip.bottom; 00161 if(top>bottom) 00162 top=bottom; 00163 } 00164 }
|