#include <gfxPattern.h>
List of all members.
Public Types |
| enum | GraphicsExtend {
EXTEND_NONE,
EXTEND_REPEAT,
EXTEND_REFLECT,
EXTEND_PAD,
EXTEND_PAD_EDGE = 1000
} |
| enum | GraphicsPatternType { PATTERN_SOLID,
PATTERN_SURFACE,
PATTERN_LINEAR,
PATTERN_RADIAL
} |
| enum | GraphicsFilter {
FILTER_FAST,
FILTER_GOOD,
FILTER_BEST,
FILTER_NEAREST,
FILTER_BILINEAR,
FILTER_GAUSSIAN
} |
Public Member Functions |
| | gfxPattern (cairo_pattern_t *aPattern) |
| | gfxPattern (const gfxRGBA &aColor) |
| | gfxPattern (gfxASurface *surface) |
| | gfxPattern (gfxFloat x0, gfxFloat y0, gfxFloat x1, gfxFloat y1) |
| | gfxPattern (gfxFloat cx0, gfxFloat cy0, gfxFloat radius0, gfxFloat cx1, gfxFloat cy1, gfxFloat radius1) |
| virtual | ~gfxPattern () |
| cairo_pattern_t * | CairoPattern () |
| void | AddColorStop (gfxFloat offset, const gfxRGBA &c) |
| void | SetMatrix (const gfxMatrix &matrix) |
| gfxMatrix | GetMatrix () const |
| void | SetExtend (GraphicsExtend extend) |
| GraphicsExtend | Extend () const |
| GraphicsPatternType | GetType () const |
| int | CairoStatus () |
| void | SetFilter (GraphicsFilter filter) |
| GraphicsFilter | Filter () const |
| PRBool | GetSolidColor (gfxRGBA &aColor) |
| already_AddRefed< gfxASurface > | GetSurface () |
Protected Attributes |
| cairo_pattern_t * | mPattern |
Member Enumeration Documentation
- Enumerator:
| EXTEND_NONE |
|
| EXTEND_REPEAT |
|
| EXTEND_REFLECT |
|
| EXTEND_PAD |
|
| EXTEND_PAD_EDGE |
|
- Enumerator:
| FILTER_FAST |
|
| FILTER_GOOD |
|
| FILTER_BEST |
|
| FILTER_NEAREST |
|
| FILTER_BILINEAR |
|
| FILTER_GAUSSIAN |
|
- Enumerator:
| PATTERN_SOLID |
|
| PATTERN_SURFACE |
|
| PATTERN_LINEAR |
|
| PATTERN_RADIAL |
|
Constructor & Destructor Documentation
| gfxPattern::gfxPattern |
( |
const gfxRGBA & |
aColor |
) |
|
| virtual gfxPattern::~gfxPattern |
( |
|
) |
[virtual] |
Member Function Documentation
| int gfxPattern::CairoStatus |
( |
|
) |
|
| void gfxPattern::SetMatrix |
( |
const gfxMatrix & |
matrix |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: