Sk1DPathEffect Class Reference

#include <Sk1DPathEffect.h>

Inherits SkPathEffect.

Inherited by SkPath1DPathEffect.

Collaboration diagram for Sk1DPathEffect:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool filterPath (SkPath *dst, const SkPath &src, SkScalar *width)

Protected Member Functions

virtual SkScalar begin (SkScalar contourLength)=0
virtual SkScalar next (SkPath *dst, SkScalar distance, SkPathMeasure &)=0

Detailed Description

Definition at line 26 of file Sk1DPathEffect.h.


Member Function Documentation

virtual SkScalar Sk1DPathEffect::begin ( SkScalar  contourLength  )  [protected, pure virtual]

Called at the start of each contour, returns the initial offset into that contour.

Implemented in SkPath1DPathEffect.

virtual bool Sk1DPathEffect::filterPath ( SkPath dst,
const SkPath src,
SkScalar width 
) [virtual]

Given a src path and a width value, return true if the patheffect has produced a new path (dst) and a new width value. If false is returned, ignore dst and width. On input, width >= 0 means the src should be stroked On output, width >= 0 means the dst should be stroked

Implements SkPathEffect.

Reimplemented in SkPath1DPathEffect.

virtual SkScalar Sk1DPathEffect::next ( SkPath dst,
SkScalar  distance,
SkPathMeasure  
) [protected, pure virtual]

Called with the current distance along the path, with the current matrix for the point/tangent at the specified distance. Return the distance to travel for the next call. If return <= 0, then that contour is done.

Implemented in SkPath1DPathEffect.


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

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