2002-11-21 05:40:49 +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" >
2002-12-01 07:56:17 +00:00
< title > /include/ZE_ZRect.h Source File< / title >
2002-11-21 05:40:49 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2002-12-01 07:56:17 +00:00
<!-- Generated by Doxygen 1.2.18 -->
2002-11-21 05:40:49 +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 = "hierarchy.html" > Class Hierarchy< / 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 >
2002-12-01 07:56:17 +00:00
< 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 >
2002-11-21 05:40:49 +00:00
00002 < span class = "comment" > This file is Part of the ZEngine Library for SDL Game Development.< / span >
00003 < span class = "comment" > Copyright (C) 2002 ConceptOfZero.net< / span >
00004 < span class = "comment" > < / span >
00005 < span class = "comment" > Licensed under the BSD License, see licensing.txt.< / span >
00006 < span class = "comment" > < / span >
00007 < span class = "comment" > The maintainer of this library is James Turk (jturk@conceptofzero.net) < / span >
00008 < span class = "comment" > and the home of this Library is http://www.conceptofzero.net/< / span >
00009 < span class = "comment" > *******************************************************************************/< / span >
00010
00024 < span class = "preprocessor" > #ifndef __ze_zrect_h__< / span >
00025 < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define __ze_zrect_h__< / span >
00026 < span class = "preprocessor" > < / span >
2002-12-01 07:56:17 +00:00
00027 < span class = "preprocessor" > #include "< a class = "code" href = "ZE__ZObject_8h.html" > ZE_ZObject.h< / a > "< / span > < span class = "comment" > //included even though ZRect isn't derived (to obtain all other needed headers)< / span >
2002-11-21 05:40:49 +00:00
00028
00029 < span class = "keyword" > namespace < / span > ZE
00030 {
00031
2002-12-01 07:56:17 +00:00
< a name = "l00037" > < / a > < a class = "code" href = "classZE_1_1ZRect.html" > 00037< / a > < span class = "keyword" > class < / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a >
2002-11-21 05:40:49 +00:00
00038 {
2002-12-01 07:56:17 +00:00
00039 < span class = "keyword" > private< / span > :
< a name = "l00041" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#o0" > 00041< / a > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#o0" > mX< / a > ;
< a name = "l00043" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#o1" > 00043< / a > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#o1" > mY< / a > ;
< a name = "l00045" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#o2" > 00045< / a > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#o2" > mWidth< / a > ;
< a name = "l00047" > < / a > < a class = "code" href = "classZE_1_1ZRect.html#o3" > 00047< / a > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#o3" > mHeight< / a > ;
2002-11-21 05:40:49 +00:00
00048
2002-12-01 07:56:17 +00:00
00049 < span class = "keyword" > public< / span > :
2002-11-21 05:40:49 +00:00
00050
2002-12-01 07:56:17 +00:00
00056 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > ();
2002-11-21 05:40:49 +00:00
00057
2002-12-01 07:56:17 +00:00
00067 < a class = "code" href = "classZE_1_1ZRect.html#a0" > ZRect< / a > (< span class = "keywordtype" > int< / span > x, < span class = "keywordtype" > int< / span > y, < span class = "keywordtype" > int< / span > width, < span class = "keywordtype" > int< / span > height);
2002-11-21 05:40:49 +00:00
00068
2002-12-01 07:56:17 +00:00
00075 < 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);
2002-11-21 05:40:49 +00:00
00076
2002-12-01 07:56:17 +00:00
00084 < span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & < a class = "code" href = "classZE_1_1ZRect.html#a3" > operator=< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rhs);
2002-11-21 05:40:49 +00:00
00085
2002-12-01 07:56:17 +00:00
00094 < span class = "keywordtype" > bool< / span > < 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) < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00095
2002-12-01 07:56:17 +00:00
00103 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a5" > Move< / a > (< span class = "keywordtype" > int< / span > x, < span class = "keywordtype" > int< / span > y);
2002-11-21 05:40:49 +00:00
00104
2002-12-01 07:56:17 +00:00
00112 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a6" > MoveRel< / a > (< span class = "keywordtype" > int< / span > xMove, < span class = "keywordtype" > int< / span > yMove);
2002-11-21 05:40:49 +00:00
00113
2002-12-01 07:56:17 +00:00
00121 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a7" > Resize< / a > (< span class = "keywordtype" > int< / span > width, < span class = "keywordtype" > int< / span > height);
2002-11-21 05:40:49 +00:00
00122
2002-12-01 07:56:17 +00:00
00130 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZRect.html#a8" > ResizeRel< / a > (< span class = "keywordtype" > int< / span > widthChange, < span class = "keywordtype" > int< / span > heightChange);
2002-11-21 05:40:49 +00:00
00131
2002-12-01 07:56:17 +00:00
00139 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a9" > Intersects< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00140
2002-12-01 07:56:17 +00:00
00149 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a10" > Contains< / a > (< span class = "keywordtype" > int< / span > x, < span class = "keywordtype" > int< / span > y) < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00150
2002-12-01 07:56:17 +00:00
00158 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZRect.html#a10" > Contains< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00159
2002-12-01 07:56:17 +00:00
00167 < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > < a class = "code" href = "classZE_1_1ZRect.html#a12" > Intersection< / a > (< span class = "keyword" > const< / span > < a class = "code" href = "classZE_1_1ZRect.html" > ZRect< / a > & rect) < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00168
2002-12-01 07:56:17 +00:00
00175 SDL_Rect < a class = "code" href = "classZE_1_1ZRect.html#a13" > SDLrect< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00176
2002-12-01 07:56:17 +00:00
00183 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a14" > X< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00184
2002-12-01 07:56:17 +00:00
00191 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a15" > Y< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00192
2002-12-01 07:56:17 +00:00
00199 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a16" > Left< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00200
2002-12-01 07:56:17 +00:00
00207 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a17" > Right< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00208
2002-12-01 07:56:17 +00:00
00215 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a18" > Top< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00216
2002-12-01 07:56:17 +00:00
00223 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a19" > Bottom< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00224
2002-12-01 07:56:17 +00:00
00231 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a20" > Width< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00232
2002-12-01 07:56:17 +00:00
00239 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZRect.html#a21" > Height< / a > () < span class = "keyword" > const< / span > ;
2002-11-21 05:40:49 +00:00
00240 };
00241
00242 } < span class = "comment" > //namspace ZE< / span >
00243
00244 < span class = "preprocessor" > #endif //__ze_zrect_h__< / span >
2002-12-01 07:56:17 +00:00
< / pre > < / div > < hr > < address style = "align: right;" > < small > Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
2002-11-21 05:40:49 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2002-12-01 07:56:17 +00:00
width=110 height=53>< / a > 1.2.18 < / small > < / address >
2002-11-21 05:40:49 +00:00
< / body >
< / html >