pleyo.com

WebCore::IntRect Class Reference

#include <IntRect.h>

List of all members.

Public Member Functions

 IntRect ()
 IntRect (const IntPoint &location, const IntSize &size)
 IntRect (int x, int y, int width, int height)
 IntRect (const FloatRect &rect)
IntPoint location () const
IntSize size () const
void setLocation (const IntPoint &location)
void setSize (const IntSize &size)
int x () const
int y () const
int width () const
int height () const
void setX (int x)
void setY (int y)
void setWidth (int width)
void setHeight (int height)
IntPoint topLeft () const
IntPoint topRight () const
IntPoint bottomLeft () const
IntPoint bottomRight () const
bool isEmpty () const
int right () const
int bottom () const
void move (const IntSize &s)
void move (int dx, int dy)
bool intersects (const IntRect &) const
bool contains (const IntRect &) const
bool contains (int px, int py) const
bool contains (const IntPoint &point) const
void intersect (const IntRect &)
void unite (const IntRect &)
void inflateX (int dx)
void inflateY (int dy)
void inflate (int d)
void scale (float s)


Constructor & Destructor Documentation

WebCore::IntRect::IntRect (  )  [inline]

WebCore::IntRect::IntRect ( const IntPoint location,
const IntSize size 
) [inline]

WebCore::IntRect::IntRect ( int  x,
int  y,
int  width,
int  height 
) [inline]

WebCore::IntRect::IntRect ( const FloatRect rect  )  [explicit]


Member Function Documentation

IntPoint WebCore::IntRect::location (  )  const [inline]

IntSize WebCore::IntRect::size (  )  const [inline]

void WebCore::IntRect::setLocation ( const IntPoint location  )  [inline]

void WebCore::IntRect::setSize ( const IntSize size  )  [inline]

int WebCore::IntRect::x (  )  const [inline]

int WebCore::IntRect::y (  )  const [inline]

int WebCore::IntRect::width (  )  const [inline]

int WebCore::IntRect::height (  )  const [inline]

void WebCore::IntRect::setX ( int  x  )  [inline]

void WebCore::IntRect::setY ( int  y  )  [inline]

void WebCore::IntRect::setWidth ( int  width  )  [inline]

void WebCore::IntRect::setHeight ( int  height  )  [inline]

IntPoint WebCore::IntRect::topLeft (  )  const [inline]

IntPoint WebCore::IntRect::topRight (  )  const [inline]

IntPoint WebCore::IntRect::bottomLeft (  )  const [inline]

IntPoint WebCore::IntRect::bottomRight (  )  const [inline]

bool WebCore::IntRect::isEmpty (  )  const [inline]

int WebCore::IntRect::right (  )  const [inline]

int WebCore::IntRect::bottom (  )  const [inline]

void WebCore::IntRect::move ( const IntSize s  )  [inline]

void WebCore::IntRect::move ( int  dx,
int  dy 
) [inline]

bool WebCore::IntRect::intersects ( const IntRect other  )  const

bool WebCore::IntRect::contains ( const IntRect other  )  const

bool WebCore::IntRect::contains ( int  px,
int  py 
) const [inline]

bool WebCore::IntRect::contains ( const IntPoint point  )  const [inline]

void WebCore::IntRect::intersect ( const IntRect other  ) 

void WebCore::IntRect::unite ( const IntRect other  ) 

void WebCore::IntRect::inflateX ( int  dx  )  [inline]

void WebCore::IntRect::inflateY ( int  dy  )  [inline]

void WebCore::IntRect::inflate ( int  d  )  [inline]

void WebCore::IntRect::scale ( float  s  ) 


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:20 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com