Home
last modified time | relevance | path

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

/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp2077 SkVector devStrokeWidths, bool strokeOnly) { in Make() argument
2080 SkASSERT((devStrokeWidths.fX > 0) == (devStrokeWidths.fY > 0)); in Make()
2081 SkASSERT(!(strokeOnly && devStrokeWidths.fX <= 0)); in Make()
2082 if (devStrokeWidths.fX > 0) { in Make()
2083 if (SkScalarNearlyZero(devStrokeWidths.length())) { in Make()
2084 devStrokeWidths.set(SK_ScalarHalf, SK_ScalarHalf); in Make()
2086 devStrokeWidths.scale(SK_ScalarHalf); in Make()
2090 if (devStrokeWidths.length() > SK_ScalarHalf && in Make()
2097 if (devStrokeWidths.fX * (devYRadius * devYRadius) < in Make()
2098 (devStrokeWidths.fY * devStrokeWidths.fY) * devXRadius) { in Make()
[all …]