Searched refs:SkScalarToFixed (Results 1 – 18 of 18) sorted by relevance
109 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set()110 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set()111 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set()112 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
388 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0};390 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)};392 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding),393 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)};
153 r.set(SkScalarToFixed(rect.fLeft) >> 16, in HairRect()154 SkScalarToFixed(rect.fTop) >> 16, in HairRect()155 (SkScalarToFixed(rect.fRight) >> 16) + 1, in HairRect()156 (SkScalarToFixed(rect.fBottom) >> 16) + 1); in HairRect()
200 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs()202 fInvKy = SkScalarToFixed(fInvMatrix.getSkewY()); in chooseProcs()
1278 fX = SkScalarToFixed(pt.fX); in SkPerspIter()1279 fY = SkScalarToFixed(pt.fY); in SkPerspIter()1297 fX = SkScalarToFixed(pt.fX); in next()1298 fY = SkScalarToFixed(pt.fY); in next()1304 fX = SkScalarToFixed(pt.fX); in next()1305 fY = SkScalarToFixed(pt.fY); in next()
388 SkFixed x = SkScalarToFixed(devPts[i].fX); in bw_square_proc()389 SkFixed y = SkScalarToFixed(devPts[i].fY); in bw_square_proc()405 SkFixed x = SkScalarToFixed(devPts[i].fX); in aa_square_proc()406 SkFixed y = SkScalarToFixed(devPts[i].fY); in aa_square_proc()450 fRadius = SkScalarToFixed(width * sx) >> 1; in init()
88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
286 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_texture()
79 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in set()80 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in set()
192 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath()193 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
122 SkFixed fixedRead = SkScalarToFixed(positionRead[0].value); in DEF_TEST()123 SkFixed fixedOriginal = SkScalarToFixed(position[0].value); in DEF_TEST()
834 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()835 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()836 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()837 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()958 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()959 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()960 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()961 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()1873 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
142 return SkFixedToFIXED(SkScalarToFixed(x)); in SkScalarToFIXED()
142 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
229 return SkScalarToFixed(x) >> 2; in pin_and_convert()
228 unsigned fi = proc(SkScalarToFixed(srcPt.length())); in shadeSpan()
264 recs->fPos = SkScalarToFixed(curr); in SkGradientShaderBase()265 SkFixed diff = SkScalarToFixed(curr - prev); in SkGradientShaderBase()
389 unsigned fi = proc(SkScalarToFixed(srcPt.fX)); in shadeSpan()