Home
last modified time | relevance | path

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

/external/skia/gm/
Dbeziereffects.cpp160 constexpr int kNumConics = 10; in onDraw() local
164 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); in onDraw()
165 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw()
172 for (int i = 0; i < kNumConics; ++i) { in onDraw()
/external/skqp/gm/
Dbeziereffects.cpp165 constexpr int kNumConics = 10; in onDraw() local
169 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); in onDraw()
170 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw()
177 for (int i = 0; i < kNumConics; ++i) { in onDraw()