SkStroke Class Reference

#include <SkStroke.h>

List of all members.

Public Member Functions

 SkStroke ()
 SkStroke (const SkPaint &)
 SkStroke (const SkPaint &, SkScalar width)
SkPaint::Cap getCap () const
void setCap (SkPaint::Cap)
SkPaint::Join getJoin () const
void setJoin (SkPaint::Join)
void setMiterLimit (SkScalar)
void setWidth (SkScalar)
bool getDoFill () const
void setDoFill (bool doFill)
void strokeLine (const SkPoint &start, const SkPoint &end, SkPath *) const
void strokeRect (const SkRect &rect, SkPath *) const
void strokeOval (const SkRect &oval, SkPath *) const
void strokeRRect (const SkRect &rect, SkScalar rx, SkScalar ry, SkPath *) const
void strokePath (const SkPath &path, SkPath *) const

Friends

class SkPaint

Detailed Description

SkStroke is the utility class that constructs paths by stroking geometries (lines, rects, ovals, roundrects, paths). This is invoked when a geometry or text is drawn in a canvas with the kStroke_Mask bit set in the paint.

Definition at line 36 of file SkStroke.h.


Constructor & Destructor Documentation

SkStroke::SkStroke (  ) 
SkStroke::SkStroke ( const SkPaint  ) 
SkStroke::SkStroke ( const SkPaint ,
SkScalar  width 
)

Member Function Documentation

SkPaint::Cap SkStroke::getCap (  )  const [inline]

Definition at line 42 of file SkStroke.h.

bool SkStroke::getDoFill (  )  const [inline]

Definition at line 51 of file SkStroke.h.

SkPaint::Join SkStroke::getJoin (  )  const [inline]

Definition at line 45 of file SkStroke.h.

void SkStroke::setCap ( SkPaint::Cap   ) 
void SkStroke::setDoFill ( bool  doFill  )  [inline]

Definition at line 52 of file SkStroke.h.

void SkStroke::setJoin ( SkPaint::Join   ) 
void SkStroke::setMiterLimit ( SkScalar   ) 
void SkStroke::setWidth ( SkScalar   ) 
void SkStroke::strokeLine ( const SkPoint start,
const SkPoint end,
SkPath  
) const
void SkStroke::strokeOval ( const SkRect oval,
SkPath  
) const
void SkStroke::strokePath ( const SkPath path,
SkPath  
) const
void SkStroke::strokeRect ( const SkRect rect,
SkPath  
) const
void SkStroke::strokeRRect ( const SkRect rect,
SkScalar  rx,
SkScalar  ry,
SkPath  
) const

Friends And Related Function Documentation

friend class SkPaint [friend]

Definition at line 67 of file SkStroke.h.


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