Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
NS_GFX::RgnRect Struct Reference
Inheritance diagram for NS_GFX::RgnRect:
Inheritance graph
Collaboration diagram for NS_GFX::RgnRect:
Collaboration graph

List of all members.

Public Member Functions

 RgnRect ()
 RgnRect (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight)
 RgnRect (const nsRectFast &aRect)
voidoperator new (size_t) CPP_THROW_NEW
void operator delete (void *aRect, size_t)
RgnRectoperator= (const RgnRect &aRect)
PRBool Contains (const nsRect &aRect) const
PRBool Intersects (const nsRect &aRect) const
PRBool IntersectRect (const nsRect &aRect1, const nsRect &aRect2)
void UnionRect (const nsRect &aRect1, const nsRect &aRect2)

Public Attributes


Detailed Description

Definition at line 75 of file nsRegion.h.

Constructor & Destructor Documentation

Definition at line 80 of file nsRegion.h.

{}                           // No need to call parent constructor to set default values
NS_GFX::RgnRect::RgnRect ( PRInt32  aX,
PRInt32  aY,
PRInt32  aWidth,
PRInt32  aHeight 
) [inline]

Definition at line 81 of file nsRegion.h.

: nsRectFast (aX, aY, aWidth, aHeight) {}
NS_GFX::RgnRect::RgnRect ( const nsRectFast aRect) [inline]

Definition at line 82 of file nsRegion.h.

: nsRectFast (aRect) {}

Member Function Documentation

PRBool NS_GFX::nsRectFast::Contains ( const nsRect aRect) const [inline, inherited]
PRBool NS_GFX::nsRectFast::IntersectRect ( const nsRect aRect1,
const nsRect aRect2 
) [inline, inherited]
PRBool NS_GFX::nsRectFast::Intersects ( const nsRect aRect) const [inline, inherited]
void NS_GFX::RgnRect::operator delete ( void aRect,
) [inline]
void* NS_GFX::RgnRect::operator new ( size_t  ) [inline]
RgnRect& NS_GFX::RgnRect::operator= ( const RgnRect aRect) [inline]

Definition at line 87 of file nsRegion.h.

      x = aRect.x;
      y = aRect.y;
      width = aRect.width;
      height = aRect.height;
      return *this;
void NS_GFX::nsRectFast::UnionRect ( const nsRect aRect1,
const nsRect aRect2 
) [inline, inherited]

Member Data Documentation

Definition at line 78 of file nsRegion.h.

Definition at line 77 of file nsRegion.h.

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