Searched refs:stretchSize (Results 1 – 2 of 2) sorted by relevance
156 int stretchSize = 0; in DrawMesh() local158 stretchSize += xDivs[i] - xDivs[i-1]; in DrawMesh()160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize); in DrawMesh()162 stretchX = (bounds.width() - fixed) / stretchSize; in DrawMesh()168 int stretchSize = 0; in DrawMesh() local170 stretchSize += yDivs[i] - yDivs[i-1]; in DrawMesh()172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize); in DrawMesh()174 stretchY = (bounds.height() - fixed) / stretchSize; in DrawMesh()
386 const SkScalar stretchSize = SkIntToScalar(3); in filterRRectToNine() local388 const SkScalar totalSmallWidth = leftUnstretched + rightUnstretched + stretchSize; in filterRRectToNine()397 const SkScalar totalSmallHeight = topUnstretched + bottomUnstretched + stretchSize; in filterRRectToNine()