Lines Matching refs:fPos
15 const SkScalar* fPos;
30 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm);
38 data.fPos, data.fCount, tm);
45 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount);
57 data.fColors, data.fPos, data.fCount, tm);
68 data.fColors, data.fPos,
129 SkScalar* fPos;
132 ColorPos() : fColors(NULL), fPos(NULL), fCount(0) {}
135 SkDELETE_ARRAY(fPos);
142 fPos = SkNEW_ARRAY(SkScalar, count);
143 memcpy(fPos, pos, count * sizeof(SkScalar));
144 fPos[0] = 0;
145 fPos[count - 1] = 1;
243 SkShader* s = SkGradientShader::CreateLinear(pts, rec.fColors, rec.fPos, rec.fCount,