Flutter Engine
The Flutter Engine
|
#include "src/core/SkStroke.h"
#include "include/core/SkPath.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkMacros.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkGeometry.h"
#include "src/core/SkPathEnums.h"
#include "src/core/SkPathPriv.h"
#include "src/core/SkPointPriv.h"
#include "src/core/SkStrokerPriv.h"
#include <algorithm>
#include <array>
#include "src/core/SkPaintDefaults.h"
Go to the source code of this file.
Classes | |
struct | SkQuadConstruct |
class | SkPathStroker |
class | AutoTmpPath |
Macros | |
#define | DEBUG_QUAD_STROKER 0 |
#define | STROKER_RESULT(resultType, depth, quadPts, format, ...) resultType |
#define | STROKER_DEBUG_PARAMS(...) |
#define | DEBUG_CUBIC_RECURSION_DEPTHS 0 |
#define | DEBUG_CUBIC_RECURSION_TRACK_DEPTH(depth) (void)(depth) |
Enumerations | |
enum | { kTangent_RecursiveLimit , kCubic_RecursiveLimit , kConic_RecursiveLimit , kQuad_RecursiveLimit } |
Functions | |
static bool | degenerate_vector (const SkVector &v) |
static bool | set_normal_unitnormal (const SkPoint &before, const SkPoint &after, SkScalar scale, SkScalar radius, SkVector *normal, SkVector *unitNormal) |
static bool | set_normal_unitnormal (const SkVector &vec, SkScalar radius, SkVector *normal, SkVector *unitNormal) |
static bool | has_valid_tangent (const SkPath::Iter *iter) |
static SkScalar | pt_to_line (const SkPoint &pt, const SkPoint &lineStart, const SkPoint &lineEnd) |
static bool | cubic_in_line (const SkPoint cubic[4]) |
static bool | quad_in_line (const SkPoint quad[3]) |
static bool | conic_in_line (const SkConic &conic) |
static int | intersect_quad_ray (const SkPoint line[2], const SkPoint quad[3], SkScalar roots[2]) |
static bool | points_within_dist (const SkPoint &nearPt, const SkPoint &farPt, SkScalar limit) |
static bool | sharp_angle (const SkPoint quad[3]) |
static SkPathDirection | reverse_direction (SkPathDirection dir) |
static void | addBevel (SkPath *path, const SkRect &r, const SkRect &outer, SkPathDirection dir) |
Variables | |
static const int | kRecursiveLimits [] = { 5*3, 24, 11*3, 11*3 } |
#define DEBUG_CUBIC_RECURSION_DEPTHS 0 |
Definition at line 69 of file SkStroke.cpp.
#define DEBUG_CUBIC_RECURSION_TRACK_DEPTH | ( | depth | ) | (void)(depth) |
Definition at line 94 of file SkStroke.cpp.
#define DEBUG_QUAD_STROKER 0 |
Definition at line 51 of file SkStroke.cpp.
#define STROKER_DEBUG_PARAMS | ( | ... | ) |
Definition at line 65 of file SkStroke.cpp.
#define STROKER_RESULT | ( | resultType, | |
depth, | |||
quadPts, | |||
format, | |||
... | |||
) | resultType |
Definition at line 63 of file SkStroke.cpp.
anonymous enum |
Enumerator | |
---|---|
kTangent_RecursiveLimit | |
kCubic_RecursiveLimit | |
kConic_RecursiveLimit | |
kQuad_RecursiveLimit |
Definition at line 26 of file SkStroke.cpp.
|
static |
Definition at line 1559 of file SkStroke.cpp.
|
static |
Definition at line 641 of file SkStroke.cpp.
|
static |
Definition at line 580 of file SkStroke.cpp.
|
inlinestatic |
Definition at line 97 of file SkStroke.cpp.
|
static |
Definition at line 442 of file SkStroke.cpp.
|
static |
Definition at line 977 of file SkStroke.cpp.
|
static |
Definition at line 1012 of file SkStroke.cpp.
|
static |
Definition at line 541 of file SkStroke.cpp.
|
static |
Definition at line 617 of file SkStroke.cpp.
|
static |
Definition at line 1554 of file SkStroke.cpp.
|
static |
Definition at line 101 of file SkStroke.cpp.
|
static |
Definition at line 113 of file SkStroke.cpp.
|
static |
Definition at line 1016 of file SkStroke.cpp.
|
static |
Definition at line 40 of file SkStroke.cpp.