raSystem  1.0 bata
raRECT Class Reference

#include <raRECT.h>

Public Member Functions

 raRECT (void)
 
 raRECT (const raRECT &_r)
 
 raRECT (const long &_r)
 
 raRECT (const long &_l, const long &_t, const long &_r, const long &_b)
 
 raRECT (const long *_lpl)
 
 raRECT (const RECT rec)
 
 operator long * ()
 
 operator void * ()
 
 operator RECT ()
 
raRECT operator= (const raRECT &r)
 
raRECT operator+= (const raRECT &r)
 
raRECT operator-= (const raRECT &r)
 
raRECT operator*= (const raRECT &r)
 
raRECT operator/= (const raRECT &r)
 
raRECT operator= (const long l)
 
raRECT operator+= (const long l)
 
raRECT operator-= (const long l)
 
raRECT operator*= (const long l)
 
raRECT operator/= (const long l)
 

Public Attributes

union {
   struct {
      long   left
 
      long   top
 
      long   right
 
      long   bottom
 
   } 
 
   struct {
      long   x1
 
      long   x2
 
      long   y1
 
      long   y2
 
   } 
 
   long   r [4]
 
}; 
 

Detailed Description

Definition at line 3 of file raRECT.h.

Constructor & Destructor Documentation

◆ raRECT() [1/6]

raRECT::raRECT ( void  )
inline

Definition at line 22 of file raRECT.h.

◆ raRECT() [2/6]

raRECT::raRECT ( const raRECT _r)
inline

Definition at line 23 of file raRECT.h.

◆ raRECT() [3/6]

raRECT::raRECT ( const long &  _r)
inline

Definition at line 24 of file raRECT.h.

◆ raRECT() [4/6]

raRECT::raRECT ( const long &  _l,
const long &  _t,
const long &  _r,
const long &  _b 
)
inline

Definition at line 25 of file raRECT.h.

◆ raRECT() [5/6]

raRECT::raRECT ( const long *  _lpl)
inline

Definition at line 26 of file raRECT.h.

◆ raRECT() [6/6]

raRECT::raRECT ( const RECT  rec)
inline

Definition at line 27 of file raRECT.h.

Member Function Documentation

◆ operator long *()

raRECT::operator long * ( )
inline

Definition at line 29 of file raRECT.h.

◆ operator RECT()

raRECT::operator RECT ( )
inline

Definition at line 31 of file raRECT.h.

◆ operator void *()

raRECT::operator void * ( )
inline

Definition at line 30 of file raRECT.h.

◆ operator*=() [1/2]

raRECT raRECT::operator*= ( const raRECT r)
inline

Definition at line 36 of file raRECT.h.

◆ operator*=() [2/2]

raRECT raRECT::operator*= ( const long  l)
inline

Definition at line 42 of file raRECT.h.

◆ operator+=() [1/2]

raRECT raRECT::operator+= ( const raRECT r)
inline

Definition at line 34 of file raRECT.h.

◆ operator+=() [2/2]

raRECT raRECT::operator+= ( const long  l)
inline

Definition at line 40 of file raRECT.h.

◆ operator-=() [1/2]

raRECT raRECT::operator-= ( const raRECT r)
inline

Definition at line 35 of file raRECT.h.

◆ operator-=() [2/2]

raRECT raRECT::operator-= ( const long  l)
inline

Definition at line 41 of file raRECT.h.

◆ operator/=() [1/2]

raRECT raRECT::operator/= ( const raRECT r)
inline

Definition at line 37 of file raRECT.h.

◆ operator/=() [2/2]

raRECT raRECT::operator/= ( const long  l)
inline

Definition at line 43 of file raRECT.h.

◆ operator=() [1/2]

raRECT raRECT::operator= ( const raRECT r)
inline

Definition at line 33 of file raRECT.h.

◆ operator=() [2/2]

raRECT raRECT::operator= ( const long  l)
inline

Definition at line 39 of file raRECT.h.

Member Data Documentation

◆ @31

union { ... }

◆ bottom

long raRECT::bottom

Definition at line 13 of file raRECT.h.

◆ left

long raRECT::left

Definition at line 10 of file raRECT.h.

◆ r

long raRECT::r[4]

Definition at line 20 of file raRECT.h.

◆ right

long raRECT::right

Definition at line 12 of file raRECT.h.

◆ top

long raRECT::top

Definition at line 11 of file raRECT.h.

◆ x1

long raRECT::x1

Definition at line 17 of file raRECT.h.

◆ x2

long raRECT::x2

Definition at line 17 of file raRECT.h.

◆ y1

long raRECT::y1

Definition at line 18 of file raRECT.h.

◆ y2

long raRECT::y2

Definition at line 18 of file raRECT.h.


The documentation for this class was generated from the following file: