Home
last modified time | relevance | path

Searched refs:extremas (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkPath.cpp3225 static int compute_quad_extremas(const SkPoint src[3], SkPoint extremas[3]) { in compute_quad_extremas()
3231 extremas[i] = SkEvalQuadAt(src, ts[i]); in compute_quad_extremas()
3233 extremas[n] = src[2]; in compute_quad_extremas()
3237 static int compute_conic_extremas(const SkPoint src[3], SkScalar w, SkPoint extremas[3]) { in compute_conic_extremas()
3244 extremas[i] = conic.evalAt(ts[i]); in compute_conic_extremas()
3246 extremas[n] = src[2]; in compute_conic_extremas()
3250 static int compute_cubic_extremas(const SkPoint src[4], SkPoint extremas[5]) { in compute_cubic_extremas()
3256 SkEvalCubicAt(src, ts[i], &extremas[i], nullptr, nullptr); in compute_cubic_extremas()
3258 extremas[n] = src[3]; in compute_cubic_extremas()
3271 SkPoint extremas[5]; // big enough to hold worst-case curve type (cubic) extremas + 1 in computeTightBounds() local
[all …]
/external/skqp/src/core/
DSkPath.cpp3836 static int compute_quad_extremas(const SkPoint src[3], SkPoint extremas[3]) { in compute_quad_extremas()
3842 extremas[i] = SkEvalQuadAt(src, ts[i]); in compute_quad_extremas()
3844 extremas[n] = src[2]; in compute_quad_extremas()
3848 static int compute_conic_extremas(const SkPoint src[3], SkScalar w, SkPoint extremas[3]) { in compute_conic_extremas()
3855 extremas[i] = conic.evalAt(ts[i]); in compute_conic_extremas()
3857 extremas[n] = src[2]; in compute_conic_extremas()
3861 static int compute_cubic_extremas(const SkPoint src[3], SkPoint extremas[5]) { in compute_cubic_extremas()
3867 SkEvalCubicAt(src, ts[i], &extremas[i], nullptr, nullptr); in compute_cubic_extremas()
3869 extremas[n] = src[3]; in compute_cubic_extremas()
3882 SkPoint extremas[5]; // big enough to hold worst-case curve type (cubic) extremas + 1 in computeTightBounds() local
[all …]