SkCullPoints Class Reference

#include <SkCullPoints.h>

Collaboration diagram for SkCullPoints:
[legend]

List of all members.

Public Types

enum  LineToResult { kNo_Result, kLineTo_Result, kMoveToLineTo_Result }

Public Member Functions

 SkCullPoints ()
 SkCullPoints (const SkIRect &r)
void reset (const SkIRect &r)
void moveTo (int x, int y)
LineToResult lineTo (int x, int y, SkIPoint pts[2])

Detailed Description

Definition at line 22 of file SkCullPoints.h.


Member Enumeration Documentation

Enumerator:
kNo_Result 

line segment was completely clipped out

kLineTo_Result 

path.lineTo(pts[1]);

kMoveToLineTo_Result 

path.moveTo(pts[0]); path.lineTo(pts[1]);

Definition at line 33 of file SkCullPoints.h.


Constructor & Destructor Documentation

SkCullPoints::SkCullPoints (  ) 
SkCullPoints::SkCullPoints ( const SkIRect r  ) 

Member Function Documentation

LineToResult SkCullPoints::lineTo ( int  x,
int  y,
SkIPoint  pts[2] 
)

Connect a line to the previous call to lineTo (or moveTo).

void SkCullPoints::moveTo ( int  x,
int  y 
)

Start a contour at (x,y). Follow this with call(s) to lineTo(...)

void SkCullPoints::reset ( const SkIRect r  ) 

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

Generated on Tue Oct 20 10:33:03 2009 for Skia by  doxygen 1.6.1