Searched refs:cornerPos (Results 1 – 1 of 1) sorted by relevance
41 int cornerPos = y * (fCols + 1) + x; in setPatch() local42 fCornerPts[cornerPos] = cubics[SkPatchUtils::kTopP0_CubicCtrlPts]; in setPatch()43 fCornerPts[cornerPos + 1] = cubics[SkPatchUtils::kTopP3_CubicCtrlPts]; in setPatch()44 fCornerPts[cornerPos + (fCols + 1)] = cubics[SkPatchUtils::kBottomP0_CubicCtrlPts]; in setPatch()45 fCornerPts[cornerPos + (fCols + 1) + 1] = cubics[SkPatchUtils::kBottomP3_CubicCtrlPts]; in setPatch()63 fCornerColors[cornerPos] = colors[0]; in setPatch()64 fCornerColors[cornerPos + 1] = colors[1]; in setPatch()65 fCornerColors[cornerPos + (fCols + 1)] = colors[3]; in setPatch()66 fCornerColors[cornerPos + (fCols + 1) + 1] = colors[2]; in setPatch()70 fTexCoords[cornerPos] = texCoords[0]; in setPatch()[all …]