Searched refs:fixedColor (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkLatticeIter.h | 34 * isFixedColor and fixedColor specify if the rectangle is filled with a fixed color. 35 * If (*isFixedColor) is true, then (*fixedColor) contains the rectangle color. 38 SkColor* fixedColor = nullptr); 42 SkColor* fixedColor = nullptr) { in next() 44 if (this->next(&isrcR, dst, isFixedColor, fixedColor)) { in next()
|
H A D | SkLatticeIter.cpp | 256 bool SkLatticeIter::next(SkIRect* src, SkRect* dst, bool* isFixedColor, SkColor* fixedColor) { in next() argument 274 return this->next(src, dst, isFixedColor, fixedColor); in next() 279 if (isFixedColor && fixedColor) { in next() 283 *fixedColor = fColors[currRect]; in next()
|
/third_party/skia/gm/ |
H A D | lattice.cpp | 159 SkColor fixedColor[3] = {SK_ColorBLACK, SK_ColorBLACK, SK_ColorBLACK}; in onDrawHelper() local 165 image->readPixels(dContext, info, &fixedColor[rectNum], 4, srcX, srcY); in onDrawHelper() 192 = fixedColor[rectNum]; in onDrawHelper()
|
Completed in 2 milliseconds