Flutter Engine
The Flutter Engine
|
Classes | |
class | QuadUVMatrix |
Functions | |
SkScalar | scaleToleranceToSrc (SkScalar devTol, const SkMatrix &viewM, const SkRect &pathBounds) |
uint32_t | quadraticPointCount (const SkPoint points[], SkScalar tol) |
uint32_t | generateQuadraticPoints (const SkPoint &p0, const SkPoint &p1, const SkPoint &p2, SkScalar tolSqd, SkPoint **points, uint32_t pointsLeft) |
uint32_t | cubicPointCount (const SkPoint points[], SkScalar tol) |
uint32_t | generateCubicPoints (const SkPoint &p0, const SkPoint &p1, const SkPoint &p2, const SkPoint &p3, SkScalar tolSqd, SkPoint **points, uint32_t pointsLeft) |
void | getConicKLM (const SkPoint p[3], const SkScalar weight, SkMatrix *klm) |
void | convertCubicToQuads (const SkPoint p[4], SkScalar tolScale, skia_private::TArray< SkPoint, true > *quads) |
void | convertCubicToQuadsConstrainToTangents (const SkPoint p[4], SkScalar tolScale, SkPathFirstDirection dir, skia_private::TArray< SkPoint, true > *quads) |
Variables | |
static const SkScalar | kDefaultTolerance = SkDoubleToScalar(0.25) |
static const int | kMaxPointsPerCurve = 1 << 10 |
Utilities for evaluating paths.
void GrPathUtils::convertCubicToQuads | ( | const SkPoint | p[4], |
SkScalar | tolScale, | ||
skia_private::TArray< SkPoint, true > * | quads | ||
) |
Definition at line 494 of file GrPathUtils.cpp.
void GrPathUtils::convertCubicToQuadsConstrainToTangents | ( | const SkPoint | p[4], |
SkScalar | tolScale, | ||
SkPathFirstDirection | dir, | ||
skia_private::TArray< SkPoint, true > * | quads | ||
) |
Definition at line 514 of file GrPathUtils.cpp.
Definition at line 103 of file GrPathUtils.cpp.
uint32_t GrPathUtils::generateCubicPoints | ( | const SkPoint & | p0, |
const SkPoint & | p1, | ||
const SkPoint & | p2, | ||
const SkPoint & | p3, | ||
SkScalar | tolSqd, | ||
SkPoint ** | points, | ||
uint32_t | pointsLeft | ||
) |
Definition at line 108 of file GrPathUtils.cpp.
uint32_t GrPathUtils::generateQuadraticPoints | ( | const SkPoint & | p0, |
const SkPoint & | p1, | ||
const SkPoint & | p2, | ||
SkScalar | tolSqd, | ||
SkPoint ** | points, | ||
uint32_t | pointsLeft | ||
) |
Definition at line 78 of file GrPathUtils.cpp.
Definition at line 228 of file GrPathUtils.cpp.
Definition at line 73 of file GrPathUtils.cpp.
SkScalar GrPathUtils::scaleToleranceToSrc | ( | SkScalar | devTol, |
const SkMatrix & | viewM, | ||
const SkRect & | pathBounds | ||
) |
Definition at line 41 of file GrPathUtils.cpp.
|
static |
Definition at line 32 of file GrPathUtils.h.
|
static |
Definition at line 35 of file GrPathUtils.h.