KHTML
#include <FloatRect.h>
Public Member Functions | |
| FloatRect () | |
| FloatRect (const FloatPoint &location, const FloatSize &size) | |
| FloatRect (const IntRect &) | |
| FloatRect (float x, float y, float width, float height) | |
| float | bottom () const |
| bool | contains (const FloatPoint &point) const |
| bool | contains (const FloatRect &) const |
| bool | contains (float px, float py) const |
| float | height () const |
| void | inflate (float d) |
| void | inflateX (float dx) |
| void | inflateY (float dy) |
| void | intersect (const FloatRect &) |
| bool | intersects (const FloatRect &) const |
| bool | isEmpty () const |
| FloatPoint | location () const |
| void | move (const FloatSize &delta) |
| void | move (float dx, float dy) |
| float | right () const |
| void | scale (float s) |
| void | setHeight (float height) |
| void | setLocation (const FloatPoint &location) |
| void | setSize (const FloatSize &size) |
| void | setWidth (float width) |
| void | setX (float x) |
| void | setY (float y) |
| FloatSize | size () const |
| void | unite (const FloatRect &) |
| float | width () const |
| float | x () const |
| float | y () const |
Static Public Member Functions | |
| static FloatRect | narrowPrecision (double x, double y, double width, double height) |
Detailed Description
Definition at line 59 of file FloatRect.h.
Constructor & Destructor Documentation
◆ FloatRect() [1/4]
|
inline |
Definition at line 61 of file FloatRect.h.
◆ FloatRect() [2/4]
|
inline |
Definition at line 62 of file FloatRect.h.
◆ FloatRect() [3/4]
|
inline |
Definition at line 64 of file FloatRect.h.
◆ FloatRect() [4/4]
| WebCore::FloatRect::FloatRect | ( | const IntRect & | r | ) |
Definition at line 39 of file FloatRect.cpp.
Member Function Documentation
◆ bottom()
|
inline |
Definition at line 89 of file FloatRect.h.
◆ contains() [1/3]
|
inline |
Definition at line 104 of file FloatRect.h.
◆ contains() [2/3]
| bool WebCore::FloatRect::contains | ( | const FloatRect & | other | ) | const |
Definition at line 56 of file FloatRect.cpp.
◆ contains() [3/3]
|
inline |
Definition at line 102 of file FloatRect.h.
◆ height()
|
inline |
Definition at line 79 of file FloatRect.h.
◆ inflate()
|
inline |
Definition at line 115 of file FloatRect.h.
◆ inflateX()
|
inline |
Definition at line 107 of file FloatRect.h.
◆ inflateY()
|
inline |
Definition at line 111 of file FloatRect.h.
◆ intersect()
| void WebCore::FloatRect::intersect | ( | const FloatRect & | other | ) |
Definition at line 62 of file FloatRect.cpp.
◆ intersects()
| bool WebCore::FloatRect::intersects | ( | const FloatRect & | other | ) | const |
Definition at line 48 of file FloatRect.cpp.
◆ isEmpty()
|
inline |
Definition at line 86 of file FloatRect.h.
◆ location()
|
inline |
Definition at line 70 of file FloatRect.h.
◆ move() [1/2]
|
inline |
Definition at line 91 of file FloatRect.h.
◆ move() [2/2]
|
inline |
Definition at line 92 of file FloatRect.h.
◆ narrowPrecision()
|
static |
Definition at line 43 of file FloatRect.cpp.
◆ right()
|
inline |
Definition at line 88 of file FloatRect.h.
◆ scale()
| void WebCore::FloatRect::scale | ( | float | s | ) |
Definition at line 104 of file FloatRect.cpp.
◆ setHeight()
|
inline |
Definition at line 84 of file FloatRect.h.
◆ setLocation()
|
inline |
Definition at line 73 of file FloatRect.h.
◆ setSize()
|
inline |
Definition at line 74 of file FloatRect.h.
◆ setWidth()
|
inline |
Definition at line 83 of file FloatRect.h.
◆ setX()
|
inline |
Definition at line 81 of file FloatRect.h.
◆ setY()
|
inline |
Definition at line 82 of file FloatRect.h.
◆ size()
|
inline |
Definition at line 71 of file FloatRect.h.
◆ unite()
| void WebCore::FloatRect::unite | ( | const FloatRect & | other | ) |
Definition at line 83 of file FloatRect.cpp.
◆ width()
|
inline |
Definition at line 78 of file FloatRect.h.
◆ x()
|
inline |
Definition at line 76 of file FloatRect.h.
◆ y()
|
inline |
Definition at line 77 of file FloatRect.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.