Public Member Functions | Public Attributes

nsSize Struct Reference

#include <nsSize.h>

List of all members.

Public Member Functions

 nsSize ()
 nsSize (const nsSize &aSize)
 nsSize (nscoord aWidth, nscoord aHeight)
void SizeTo (nscoord aWidth, nscoord aHeight)
void SizeBy (nscoord aDeltaWidth, nscoord aDeltaHeight)
PRBool operator== (const nsSize &aSize) const
PRBool operator!= (const nsSize &aSize) const
nsSize operator+ (const nsSize &aSize) const
nsSizeoperator+= (const nsSize &aSize)

Public Attributes

nscoord width
nscoord height

Constructor & Destructor Documentation

nsSize::nsSize (  )  [inline]
nsSize::nsSize ( const nsSize aSize  )  [inline]
nsSize::nsSize ( nscoord  aWidth,
nscoord  aHeight 
) [inline]

Member Function Documentation

PRBool nsSize::operator!= ( const nsSize aSize  )  const [inline]
nsSize nsSize::operator+ ( const nsSize aSize  )  const [inline]
nsSize& nsSize::operator+= ( const nsSize aSize  )  [inline]
PRBool nsSize::operator== ( const nsSize aSize  )  const [inline]
void nsSize::SizeBy ( nscoord  aDeltaWidth,
nscoord  aDeltaHeight 
) [inline]
void nsSize::SizeTo ( nscoord  aWidth,
nscoord  aHeight 
) [inline]

Member Data Documentation


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