Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Protected Attributes
gfxPattern Class Reference

#include <gfxPattern.h>

List of all members.

Public Member Functions

 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 CurrentMatrix () const
void SetExtend (int extend)
int Extend () const
void SetFilter (int filter)
int Filter () const

Protected Member Functions

 gfxPattern (cairo_pattern_t *pattern)

Protected Attributes

cairo_pattern_t * mPattern

Detailed Description

Definition at line 48 of file gfxPattern.h.

Constructor & Destructor Documentation

gfxPattern::gfxPattern ( gfxASurface surface) [inline]

Definition at line 53 of file gfxPattern.h.

Here is the call graph for this function:

gfxPattern::gfxPattern ( gfxFloat  x0,
gfxFloat  y0,
gfxFloat  x1,
gfxFloat  y1 
) [inline]

Definition at line 58 of file gfxPattern.h.

gfxPattern::gfxPattern ( gfxFloat  cx0,
gfxFloat  cy0,
gfxFloat  radius0,
gfxFloat  cx1,
gfxFloat  cy1,
gfxFloat  radius1 
) [inline]

Definition at line 63 of file gfxPattern.h.

        mPattern = cairo_pattern_create_radial(cx0, cy0, radius0,
                                               cx1, cy1, radius1);
virtual gfxPattern::~gfxPattern ( ) [inline, virtual]

Definition at line 69 of file gfxPattern.h.

gfxPattern::gfxPattern ( cairo_pattern_t *  pattern) [inline, protected]

Definition at line 110 of file gfxPattern.h.

Member Function Documentation

void gfxPattern::AddColorStop ( gfxFloat  offset,
const gfxRGBA c 
) [inline]

Definition at line 77 of file gfxPattern.h.

cairo_pattern_t* gfxPattern::CairoPattern ( ) [inline]

Definition at line 73 of file gfxPattern.h.

        return mPattern;

Here is the caller graph for this function:

Definition at line 86 of file gfxPattern.h.

int gfxPattern::Extend ( ) const [inline]

Definition at line 97 of file gfxPattern.h.

int gfxPattern::Filter ( ) const [inline]

Definition at line 105 of file gfxPattern.h.

void gfxPattern::SetExtend ( int  extend) [inline]

Definition at line 93 of file gfxPattern.h.

void gfxPattern::SetFilter ( int  filter) [inline]
void gfxPattern::SetMatrix ( const gfxMatrix matrix) [inline]

Definition at line 81 of file gfxPattern.h.

Here is the call graph for this function:

Member Data Documentation

cairo_pattern_t* gfxPattern::mPattern [protected]

Definition at line 111 of file gfxPattern.h.

The documentation for this class was generated from the following file: