Flutter Engine
The Flutter Engine
|
#include <SkPathOps.h>
Public Member Functions | |
void | add (const SkPath &path, SkPathOp _operator) |
bool | resolve (SkPath *result) |
Perform a series of path operations, optimized for unioning many paths together.
Definition at line 86 of file SkPathOps.h.
Add one or more paths and their operand. The builder is empty before the first path is added, so the result of a single add is (emptyPath OP path).
path | The second operand. |
_operator | The operator to apply to the existing and supplied paths. |
Definition at line 126 of file SkOpBuilder.cpp.
bool SkOpBuilder::resolve | ( | SkPath * | result | ) |
Computes the sum of all paths and operands, and resets the builder to its initial state.
result | The product of the operands. |
Definition at line 143 of file SkOpBuilder.cpp.