Public Member Functions

gfxDrawingCallback Class Reference

gfxDrawingCallback A simple drawing functor. More...

#include <gfxDrawable.h>

List of all members.

Public Member Functions

virtual ~gfxDrawingCallback ()
virtual PRBool operator() (gfxContext *aContext, const gfxRect &aFillRect, const gfxPattern::GraphicsFilter &aFilter, const gfxMatrix &aTransform=gfxMatrix())=0
 Draw into aContext filling aFillRect using aFilter.

Detailed Description

gfxDrawingCallback A simple drawing functor.


Constructor & Destructor Documentation

virtual gfxDrawingCallback::~gfxDrawingCallback (  )  [inline, virtual]

Member Function Documentation

virtual PRBool gfxDrawingCallback::operator() ( gfxContext aContext,
const gfxRect aFillRect,
const gfxPattern::GraphicsFilter aFilter,
const gfxMatrix aTransform = gfxMatrix() 
) [pure virtual]

Draw into aContext filling aFillRect using aFilter.

aTransform is a userspace to "image"space matrix. For example, if Draw draws using a gfxPattern, this is the matrix that should be set on the pattern prior to rendering it.

Returns:
whether drawing was successful

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