pleyo.com

WebCore::FloatRect Class Reference

#include <FloatRect.h>

List of all members.

Public Member Functions

 FloatRect ()
 FloatRect (const FloatPoint &location, const FloatSize &size)
 FloatRect (float x, float y, float width, float height)
 FloatRect (const IntRect &)
FloatPoint location () const
FloatSize size () const
void setLocation (const FloatPoint &location)
void setSize (const FloatSize &size)
float x () const
float y () const
float width () const
float height () const
void setX (float x)
void setY (float y)
void setWidth (float width)
void setHeight (float height)
bool isEmpty () const
float right () const
float bottom () const
void move (const FloatSize &delta)
void move (float dx, float dy)
bool intersects (const FloatRect &) const
bool contains (const FloatRect &) const
void intersect (const FloatRect &)
void unite (const FloatRect &)
bool contains (float px, float py) const
bool contains (const FloatPoint &point) const
void inflateX (float dx)
void inflateY (float dy)
void inflate (float d)
void scale (float s)

Static Public Member Functions

static FloatRect narrowPrecision (double x, double y, double width, double height)


Constructor & Destructor Documentation

WebCore::FloatRect::FloatRect (  )  [inline]

WebCore::FloatRect::FloatRect ( const FloatPoint location,
const FloatSize size 
) [inline]

WebCore::FloatRect::FloatRect ( float  x,
float  y,
float  width,
float  height 
) [inline]

WebCore::FloatRect::FloatRect ( const IntRect r  ) 


Member Function Documentation

FloatRect WebCore::FloatRect::narrowPrecision ( double  x,
double  y,
double  width,
double  height 
) [static]

FloatPoint WebCore::FloatRect::location (  )  const [inline]

FloatSize WebCore::FloatRect::size (  )  const [inline]

void WebCore::FloatRect::setLocation ( const FloatPoint location  )  [inline]

void WebCore::FloatRect::setSize ( const FloatSize size  )  [inline]

float WebCore::FloatRect::x (  )  const [inline]

float WebCore::FloatRect::y (  )  const [inline]

float WebCore::FloatRect::width (  )  const [inline]

float WebCore::FloatRect::height (  )  const [inline]

void WebCore::FloatRect::setX ( float  x  )  [inline]

void WebCore::FloatRect::setY ( float  y  )  [inline]

void WebCore::FloatRect::setWidth ( float  width  )  [inline]

void WebCore::FloatRect::setHeight ( float  height  )  [inline]

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

float WebCore::FloatRect::right (  )  const [inline]

float WebCore::FloatRect::bottom (  )  const [inline]

void WebCore::FloatRect::move ( const FloatSize delta  )  [inline]

void WebCore::FloatRect::move ( float  dx,
float  dy 
) [inline]

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

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

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

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

bool WebCore::FloatRect::contains ( float  px,
float  py 
) const [inline]

bool WebCore::FloatRect::contains ( const FloatPoint point  )  const [inline]

void WebCore::FloatRect::inflateX ( float  dx  )  [inline]

void WebCore::FloatRect::inflateY ( float  dy  )  [inline]

void WebCore::FloatRect::inflate ( float  d  )  [inline]

void WebCore::FloatRect::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