From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLMISC__CRect.html | 576 ++++++++++++++++++++++++++++++ 1 file changed, 576 insertions(+) create mode 100644 docs/doxygen/nel/class_NLMISC__CRect.html (limited to 'docs/doxygen/nel/class_NLMISC__CRect.html') diff --git a/docs/doxygen/nel/class_NLMISC__CRect.html b/docs/doxygen/nel/class_NLMISC__CRect.html new file mode 100644 index 00000000..d9fa2194 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CRect.html @@ -0,0 +1,576 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CRect Class Reference

This class describe an integer 2d rectangle. +More... +

+#include <rect.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CRect (sint32 x, sint32 y, uint32 width, uint32 height)
 Constructor with a 2d point, a width and a height. More...

 CRect (sint32 x, sint32 y)
 Constructor with a single 2d point. Build a rectangle with width and height = 0. More...

void extend (sint32 x, sint32 y)
 Extend the box for including the point which coordinates are passed in parameter. More...

sint32 left ()
 Return the lower X coordinate of the box. More...

sint32 right ()
 Return the higher X coordinate of the box + 1. More...

sint32 top ()
 Return the lower Y coordinate of the box. More...

sint32 bottom ()
 Return the higher Y coordinate of the box + 1. More...

sint32 getXCenter ()
 Compute the x center of the rectangle. More...

sint32 getYCenter ()
 Compute the y center of the rectangle. More...


Public Attributes

sint32 X
 Lower X coordinate of the rect. More...

sint32 Y
 Lower Y coordinate of the rect. More...

uint32 Width
 Width of the rect. More...

uint32 Height
 Height of the rect. More...

+


Detailed Description

+This class describe an integer 2d rectangle. +

+

+Author(s):
+ Cyril Corvazier , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 41 of file rect.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
+NLMISC::CRect::CRect ( + +sint32 x, +
+sint32 y, +
+uint32 width, +
+uint32 height ) [inline] +
+
+ + + + + +
+   + + +

+Constructor with a 2d point, a width and a height. +

+ +

+Definition at line 45 of file rect.h.

+

+ + + + +
+ + + + + + + + + + +
+NLMISC::CRect::CRect ( + +sint32 x, +
+sint32 y ) [inline] +
+
+ + + + + +
+   + + +

+Constructor with a single 2d point. Build a rectangle with width and height = 0. +

+ +

+Definition at line 54 of file rect.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::bottom ( + +) [inline] +
+
+ + + + + +
+   + + +

+Return the higher Y coordinate of the box + 1. +

+ +

+Definition at line 84 of file rect.h. +

+Referenced by NL3D::CDriverGL::clipRect().

+

+ + + + +
+ + + + + + + + + + +
+void NLMISC::CRect::extend ( + +sint32 x, +
+sint32 y ) +
+
+ + + + + +
+   + + +

+Extend the box for including the point which coordinates are passed in parameter. +

+ +

+Definition at line 32 of file rect.cpp.

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::getXCenter ( + +) [inline] +
+
+ + + + + +
+   + + +

+Compute the x center of the rectangle. +

+ +

+Definition at line 90 of file rect.h.

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::getYCenter ( + +) [inline] +
+
+ + + + + +
+   + + +

+Compute the y center of the rectangle. +

+ +

+Definition at line 96 of file rect.h.

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::left ( + +) [inline] +
+
+ + + + + +
+   + + +

+Return the lower X coordinate of the box. +

+ +

+Definition at line 66 of file rect.h.

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::right ( + +) [inline] +
+
+ + + + + +
+   + + +

+Return the higher X coordinate of the box + 1. +

+ +

+Definition at line 72 of file rect.h. +

+Referenced by NL3D::CDriverGL::clipRect().

+

+ + + + +
+ + + + + + +
+sint32 NLMISC::CRect::top ( + +) [inline] +
+
+ + + + + +
+   + + +

+Return the lower Y coordinate of the box. +

+ +

+Definition at line 78 of file rect.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+uint32 NLMISC::CRect::Height +
+
+ + + + + +
+   + + +

+Height of the rect. +

+ +

+Definition at line 111 of file rect.h.

+

+ + + + +
+ + + + + +
+uint32 NLMISC::CRect::Width +
+
+ + + + + +
+   + + +

+Width of the rect. +

+ +

+Definition at line 108 of file rect.h.

+

+ + + + +
+ + + + + +
+sint32 NLMISC::CRect::X +
+
+ + + + + +
+   + + +

+Lower X coordinate of the rect. +

+ +

+Definition at line 102 of file rect.h.

+

+ + + + +
+ + + + + +
+sint32 NLMISC::CRect::Y +
+
+ + + + + +
+   + + +

+Lower Y coordinate of the rect. +

+ +

+Definition at line 105 of file rect.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1