SkRasterizer Class Reference

#include <SkRasterizer.h>

Inherits SkFlattenable.

Inherited by SkLayerRasterizer.

Collaboration diagram for SkRasterizer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SkRasterizer ()
bool rasterize (const SkPath &path, const SkMatrix &matrix, const SkIRect *clipBounds, SkMaskFilter *filter, SkMask *mask, SkMask::CreateMode mode)
virtual void flatten (SkFlattenableWriteBuffer &)

Protected Member Functions

 SkRasterizer (SkFlattenableReadBuffer &)
virtual bool onRasterize (const SkPath &path, const SkMatrix &matrix, const SkIRect *clipBounds, SkMask *mask, SkMask::CreateMode mode)

Detailed Description

Definition at line 28 of file SkRasterizer.h.


Constructor & Destructor Documentation

SkRasterizer::SkRasterizer (  )  [inline]

Definition at line 30 of file SkRasterizer.h.

SkRasterizer::SkRasterizer ( SkFlattenableReadBuffer  )  [protected]

Member Function Documentation

virtual void SkRasterizer::flatten ( SkFlattenableWriteBuffer  )  [inline, virtual]

Override this to write data specific to your subclass into the buffer, being sure to call your super-class' version first. This data will later be passed to your Factory function, returned by getFactory().

Reimplemented from SkFlattenable.

Reimplemented in SkLayerRasterizer.

Definition at line 38 of file SkRasterizer.h.

virtual bool SkRasterizer::onRasterize ( const SkPath path,
const SkMatrix matrix,
const SkIRect clipBounds,
SkMask mask,
SkMask::CreateMode  mode 
) [protected, virtual]

Reimplemented in SkLayerRasterizer.

bool SkRasterizer::rasterize ( const SkPath path,
const SkMatrix matrix,
const SkIRect clipBounds,
SkMaskFilter filter,
SkMask mask,
SkMask::CreateMode  mode 
)

Turn the path into a mask, respecting the specified local->device matrix.


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

Generated on Tue Oct 20 11:03:42 2009 for Skia by  doxygen 1.6.1