Public Member Functions | Public Attributes

nsPoint Struct Reference

#include <nsPoint.h>

List of all members.

Public Member Functions

 nsPoint ()
 nsPoint (const nsPoint &aPoint)
 nsPoint (nscoord aX, nscoord aY)
void MoveTo (nscoord aX, nscoord aY)
void MoveBy (nscoord aDx, nscoord aDy)
PRBool operator== (const nsPoint &aPoint) const
PRBool operator!= (const nsPoint &aPoint) const
nsPoint operator+ (const nsPoint &aPoint) const
nsPoint operator- (const nsPoint &aPoint) const
nsPointoperator+= (const nsPoint &aPoint)
nsPointoperator-= (const nsPoint &aPoint)
nsPoint operator- () const
nsIntPoint ToNearestPixels (nscoord aAppUnitsPerPixel) const

Public Attributes

nscoord x
nscoord y

Constructor & Destructor Documentation

nsPoint::nsPoint (  )  [inline]
nsPoint::nsPoint ( const nsPoint aPoint  )  [inline]
nsPoint::nsPoint ( nscoord  aX,
nscoord  aY 
) [inline]

Member Function Documentation

void nsPoint::MoveBy ( nscoord  aDx,
nscoord  aDy 
) [inline]
void nsPoint::MoveTo ( nscoord  aX,
nscoord  aY 
) [inline]
PRBool nsPoint::operator!= ( const nsPoint aPoint  )  const [inline]
nsPoint nsPoint::operator+ ( const nsPoint aPoint  )  const [inline]
nsPoint& nsPoint::operator+= ( const nsPoint aPoint  )  [inline]
nsPoint nsPoint::operator- (  )  const [inline]
nsPoint nsPoint::operator- ( const nsPoint aPoint  )  const [inline]
nsPoint& nsPoint::operator-= ( const nsPoint aPoint  )  [inline]
PRBool nsPoint::operator== ( const nsPoint aPoint  )  const [inline]
nsIntPoint nsPoint::ToNearestPixels ( nscoord  aAppUnitsPerPixel  )  const [inline]

Member Data Documentation


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