KHTML
WebCore::IntRect Class Reference
#include <IntRect.h>
Public Member Functions | |
IntRect () | |
IntRect (const IntPoint &location, const IntSize &size) | |
IntRect (int x, int y, int width, int height) | |
IntRect (const FloatRect &rect) | |
int | bottom () const |
IntPoint | bottomLeft () const |
IntPoint | bottomRight () const |
bool | contains (const IntRect &) const |
bool | contains (int px, int py) const |
bool | contains (const IntPoint &point) const |
int | height () const |
void | inflate (int d) |
void | inflateX (int dx) |
void | inflateY (int dy) |
void | intersect (const IntRect &) |
bool | intersects (const IntRect &) const |
bool | isEmpty () const |
IntPoint | location () const |
void | move (const IntSize &s) |
void | move (int dx, int dy) |
int | right () const |
void | scale (float s) |
void | setHeight (int height) |
void | setLocation (const IntPoint &location) |
void | setSize (const IntSize &size) |
void | setWidth (int width) |
void | setX (int x) |
void | setY (int y) |
IntSize | size () const |
IntPoint | topLeft () const |
IntPoint | topRight () const |
void | unite (const IntRect &) |
int | width () const |
int | x () const |
int | y () const |
Detailed Description
Constructor & Destructor Documentation
|
explicit |
Definition at line 37 of file IntRect.cpp.
Member Function Documentation
Definition at line 51 of file IntRect.cpp.
void WebCore::IntRect::intersect | ( | const IntRect & | other | ) |
Definition at line 57 of file IntRect.cpp.
Definition at line 43 of file IntRect.cpp.
void WebCore::IntRect::scale | ( | float | s | ) |
Definition at line 99 of file IntRect.cpp.
|
inline |
|
inline |
void WebCore::IntRect::unite | ( | const IntRect & | other | ) |
Definition at line 78 of file IntRect.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Wed Aug 7 2019 15:15:53 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Wed Aug 7 2019 15:15:53 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.