#include <gfxRect.h>
List of all members.
Public Member Functions |
| | gfxRect () |
| | gfxRect (const gfxRect &s) |
| | gfxRect (const gfxPoint &_pos, const gfxSize &_size) |
| | gfxRect (gfxFloat _x, gfxFloat _y, gfxFloat _width, gfxFloat _height) |
| int | operator== (const gfxRect &s) const |
| int | operator!= (const gfxRect &s) const |
| const gfxRect & | MoveBy (const gfxPoint &aPt) |
| gfxRect | operator+ (const gfxPoint &aPt) const |
| gfxRect | operator- (const gfxPoint &aPt) const |
| gfxFloat | Width () const |
| gfxFloat | Height () const |
| gfxFloat | X () const |
| gfxFloat | Y () const |
| gfxFloat | XMost () const |
| gfxFloat | YMost () const |
| PRBool | IsEmpty () const |
| gfxRect | Intersect (const gfxRect &aRect) const |
| gfxRect | Union (const gfxRect &aRect) const |
| PRBool | Contains (const gfxRect &aRect) const |
| PRBool | Contains (const gfxPoint &aPoint) const |
| gfxPoint | TopLeft () |
| gfxPoint | BottomRight () |
| void | Inset (gfxFloat k) |
| void | Inset (gfxFloat top, gfxFloat right, gfxFloat bottom, gfxFloat left) |
| void | Inset (const gfxFloat *sides) |
| void | Inset (const gfxIntSize &aSize) |
| void | Outset (gfxFloat k) |
| void | Outset (gfxFloat top, gfxFloat right, gfxFloat bottom, gfxFloat left) |
| void | Outset (const gfxFloat *sides) |
| void | Outset (const gfxIntSize &aSize) |
| void | Round () |
| void | RoundIn () |
| void | RoundOut () |
| gfxPoint | TopLeft () const |
| gfxPoint | TopRight () const |
| gfxPoint | BottomLeft () const |
| gfxPoint | BottomRight () const |
| gfxPoint | AtCorner (mozilla::css::Corner corner) const |
| gfxPoint | CCWCorner (mozilla::css::Side side) const |
| gfxPoint | CWCorner (mozilla::css::Side side) const |
| void | Condition () |
| void | Scale (gfxFloat k) |
| void | Scale (gfxFloat sx, gfxFloat sy) |
| void | ScaleInverse (gfxFloat k) |
Public Attributes |
| gfxPoint | pos |
| gfxSize | size |
Constructor & Destructor Documentation
| gfxRect::gfxRect |
( |
|
) |
[inline] |
| gfxRect::gfxRect |
( |
const gfxRect & |
s |
) |
[inline] |
Member Function Documentation
| gfxPoint gfxRect::BottomLeft |
( |
|
) |
const [inline] |
| gfxPoint gfxRect::BottomRight |
( |
|
) |
[inline] |
| gfxPoint gfxRect::BottomRight |
( |
|
) |
const [inline] |
| void gfxRect::Condition |
( |
|
) |
|
| gfxFloat gfxRect::Height |
( |
|
) |
const [inline] |
| void gfxRect::Inset |
( |
gfxFloat |
k |
) |
[inline] |
| void gfxRect::Inset |
( |
const gfxFloat * |
sides |
) |
[inline] |
| void gfxRect::Inset |
( |
const gfxIntSize & |
aSize |
) |
[inline] |
| PRBool gfxRect::IsEmpty |
( |
|
) |
const [inline] |
| int gfxRect::operator!= |
( |
const gfxRect & |
s |
) |
const [inline] |
| int gfxRect::operator== |
( |
const gfxRect & |
s |
) |
const [inline] |
| void gfxRect::Outset |
( |
gfxFloat |
k |
) |
[inline] |
| void gfxRect::Outset |
( |
const gfxFloat * |
sides |
) |
[inline] |
| void gfxRect::Outset |
( |
const gfxIntSize & |
aSize |
) |
[inline] |
| void gfxRect::RoundIn |
( |
|
) |
|
| void gfxRect::RoundOut |
( |
|
) |
|
| void gfxRect::Scale |
( |
gfxFloat |
k |
) |
[inline] |
| void gfxRect::ScaleInverse |
( |
gfxFloat |
k |
) |
[inline] |
| gfxPoint gfxRect::TopLeft |
( |
|
) |
const [inline] |
| gfxPoint gfxRect::TopRight |
( |
|
) |
const [inline] |
| gfxFloat gfxRect::Width |
( |
|
) |
const [inline] |
| gfxFloat gfxRect::XMost |
( |
|
) |
const [inline] |
| gfxFloat gfxRect::YMost |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this struct was generated from the following file: