Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
NS_GFX::nsRectFast Struct Reference
Inheritance diagram for NS_GFX::nsRectFast:
Inheritance graph

List of all members.

Public Member Functions

 nsRectFast ()
 nsRectFast (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight)
 nsRectFast (const nsRect &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)

Detailed Description

Definition at line 61 of file nsRegion.h.

Constructor & Destructor Documentation

Definition at line 63 of file nsRegion.h.

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

Definition at line 64 of file nsRegion.h.

: nsRect (aX, aY, aWidth, aHeight) {}

Definition at line 65 of file nsRegion.h.

: nsRect (aRect) {}

Member Function Documentation

PRBool NS_GFX::nsRectFast::Contains ( const nsRect aRect) const [inline]
PRBool NS_GFX::nsRectFast::IntersectRect ( const nsRect aRect1,
const nsRect aRect2 
) [inline]
PRBool NS_GFX::nsRectFast::Intersects ( const nsRect aRect) const [inline]
void NS_GFX::nsRectFast::UnionRect ( const nsRect aRect1,
const nsRect aRect2 
) [inline]

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