#include <SkPathOpsCurve.h>
Definition at line 91 of file SkPathOpsCurve.h.
◆ isCurve()
bool SkDCurveSweep::isCurve |
( |
| ) |
const |
|
inline |
◆ isOrdered()
bool SkDCurveSweep::isOrdered |
( |
| ) |
const |
|
inline |
◆ setCurveHullSweep()
Definition at line 90 of file SkPathOpsCurve.cpp.
90 {
91 fOrdered = true;
95 fIsCurve = false;
96 return;
97 }
99
100
101 double maxVal = 0;
105 }
106 {
111 }
112 goto setIsCurve;
113 }
122 }
123 goto setIsCurve;
124 }
127 if (s1x3 * s3x2 >= 0) {
128 goto setIsCurve;
129 }
131
132
133 SkASSERT(s1x3 * s2x1 < 0 || s1x3 * s3x2 < 0);
134 if (s3x2 * s2x1 < 0) {
137 fOrdered = false;
138 }
140 }
141setIsCurve:
143}
bool roughly_zero_when_compared_to(double x, double y)
int SkPathOpsVerbToPoints(SkPath::Verb verb)
static float max(float r, float g, float b)
double crossCheck(const SkDVector &a) const
◆ fCurve
◆ fSweep
The documentation for this class was generated from the following files: