Flutter Engine
The Flutter Engine
|
#include <SkQuadClipper.h>
Public Member Functions | |
SkQuadClipper () | |
void | setClip (const SkIRect &clip) |
bool | clipQuad (const SkPoint src[3], SkPoint dst[3]) |
This class is initialized with a clip rectangle, and then can be fed quads, which must already be monotonic in Y.
In the future, it might return a series of segments, allowing it to clip also in X, to ensure that all segments fit in a finite coordinate system.
Definition at line 24 of file SkQuadClipper.h.
SkQuadClipper::SkQuadClipper | ( | ) |
Definition at line 14 of file SkQuadClipper.cpp.
Definition at line 54 of file SkQuadClipper.cpp.
void SkQuadClipper::setClip | ( | const SkIRect & | clip | ) |
Definition at line 18 of file SkQuadClipper.cpp.