2003-04-27 22:15:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
< title > /include/ZE_ZRect.h Source File< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2003-07-05 00:40:44 +00:00
<!-- Generated by Doxygen 1.3 -->
2003-04-27 22:15:26 +00:00
< center >
< a class = "qindex" href = "index.html" > Main Page< / a > < a class = "qindex" href = "namespaces.html" > Namespace List< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "namespacemembers.html" > Namespace Members< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
< hr > < h1 > /include/ZE_ZRect.h< / h1 > < a href = "ZE__ZRect_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < pre > 00001 < span class = "comment" > /*******************************************************************************< / span >
00002 < span class = "comment" > This file is Part of the ZEngine Library for 2D game development.< / span >
00003 < span class = "comment" > Copyright (C) 2002, 2003 James Turk< / span >
00004 < span class = "comment" > < / span >
00005 < span class = "comment" > Licensed under a BSD-style license.< / span >
00006 < span class = "comment" > < / span >
00007 < span class = "comment" > The maintainer of this library is James Turk (james@conceptofzero.net) < / span >
00008 < span class = "comment" > and the home of this Library is http://www.zengine.sourceforge.net< / span >
00009 < span class = "comment" > *******************************************************************************/< / span >
00010
2003-07-05 00:40:44 +00:00
00020 < span class = "preprocessor" > #ifndef __ze_zrect_h__< / span >
00021 < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define __ze_zrect_h__< / span >
00022 < span class = "preprocessor" > < / span >
00023 < span class = "preprocessor" > #include "< a class = "code" href = "ZE__ZEngine_8h.html" > ZE_ZEngine.h< / a > "< / span >
00024
00025 < span class = "keyword" > namespace < / span > ZE
00026 {
00027
< a name = "l00033" > < / a > < a class = "code" href = "classZE_1_1ZRect.html" > 00033< / a > < span class = "keyword" > class < / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a >
00034 {
00035 < span class = "keyword" > protected< / span > :
< a name = "l00037" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#n0" > 00037< / a > < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#n0" > rX< / a > ;
< a name = "l00039" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#n1" > 00039< / a > < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#n1" > rY< / a > ;
< a name = "l00041" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#n2" > 00041< / a > < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#n2" > rWidth< / a > ;
< a name = "l00043" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#n3" > 00043< / a > < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#n3" > rHeight< / a > ;
00044
00045 < span class = "keyword" > public< / span > :
00046
00052 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > ();
00053
00063 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > (< span class = "keywordtype" > float< / span > x, < span class = "keywordtype" > float< / span > y, < span class = "keywordtype" > float< / span > width, < span class = "keywordtype" > float< / span > height);
00064
00071 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > (< span class = "keyword" > const< / span > SDL_Rect & rect);
00072
00079 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rhs);
00080
00088 < span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & < a class = "code" href = "classZE_1_1ZRect.html#a4" > operator=< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rhs);
00089
00095 < span class = "keyword" > virtual< / span > < a class = "code" href = "classZE_1_1ZRect.html#a5" > ~ZRect< / a > ();
00096
00105 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a6" > operator< < / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rhs) < span class = "keyword" > const< / span > ;
00106
00116 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a7" > Draw< / a > (Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255) < span class = "keyword" > const< / span > ;
00117
00125 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a8" > Move< / a > (< span class = "keywordtype" > float< / span > x, < span class = "keywordtype" > float< / span > y);
00126
00134 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a9" > MoveRel< / a > (< span class = "keywordtype" > float< / span > xMove, < span class = "keywordtype" > float< / span > yMove);
00135
00143 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a10" > Resize< / a > (< span class = "keywordtype" > float< / span > width, < span class = "keywordtype" > float< / span > height);
00144
00152 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a11" > ResizeRel< / a > (< span class = "keywordtype" > float< / span > widthChange, < span class = "keywordtype" > float< / span > heightChange);
00153
00161 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a12" > Intersects< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
00162
00171 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a13" > Contains< / a > (< span class = "keywordtype" > float< / span > x, < span class = "keywordtype" > float< / span > y) < span class = "keyword" > const< / span > ;
00172
00180 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a13" > Contains< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
00181
00189 < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > < a class = "code" href = "classZE_1_1ZRect.html#a15" > Intersection< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
00190
00197 SDL_Rect < a class = "code" href = "classZE_1_1ZRect.html#a16" > SDLrect< / a > () < span class = "keyword" > const< / span > ;
00198
00205 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a17" > X< / a > () < span class = "keyword" > const< / span > ;
00206
00213 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a18" > Y< / a > () < span class = "keyword" > const< / span > ;
00214
00221 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a19" > Left< / a > () < span class = "keyword" > const< / span > ;
00222
00229 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a20" > Right< / a > () < span class = "keyword" > const< / span > ;
00230
00237 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a21" > Top< / a > () < span class = "keyword" > const< / span > ;
00238
00245 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a22" > Bottom< / a > () < span class = "keyword" > const< / span > ;
00246
00253 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a23" > Width< / a > () < span class = "keyword" > const< / span > ;
00254
00261 < span class = "keywordtype" > float< / span > < a class = "code" href = "classZE_1_1ZRect.html#a24" > Height< / a > () < span class = "keyword" > const< / span > ;
00262 };
00263
00264 } < span class = "comment" > //namespace ZE< / span >
00265
00266 < span class = "preprocessor" > #endif //__ze_zrect_h__< / span >
< / pre > < / div > < hr > < address style = "align: right;" > < small > Generated on Sun Jun 29 14:13:51 2003 for ZEngine by
2003-04-27 22:15:26 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2003-07-05 00:40:44 +00:00
width=110 height=53>< / a > 1.3 < / small > < / address >
2003-04-27 22:15:26 +00:00
< / body >
< / html >