Searched refs:SkScalarToFixed (Results 1 – 16 of 16) sorted by relevance
110 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set()111 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set()112 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set()113 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
296 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0}; in SubpixelAlignment()298 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()300 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), in SubpixelAlignment()301 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
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()
157 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs()159 fInvKy = SkScalarToFixed(fInvMatrix.getSkewY()); in chooseProcs()
346 SkFixed x = SkScalarToFixed(devPts[i].fX); in bw_square_proc()347 SkFixed y = SkScalarToFixed(devPts[i].fY); in bw_square_proc()363 SkFixed x = SkScalarToFixed(devPts[i].fX); in aa_square_proc()364 SkFixed y = SkScalarToFixed(devPts[i].fY); in aa_square_proc()408 fRadius = SkScalarToFixed(width * sx) >> 1; in init()
51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()53 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
162 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_texture()
210 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio);
82 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in set()83 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in set()
784 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()785 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()786 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()787 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()908 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()909 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()910 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()911 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()1827 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
142 return SkFixedToFIXED(SkScalarToFixed(x)); in SkScalarToFIXED()
192 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath()193 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
127 SkFixed fixedRead = SkScalarToFixed(positionRead[0].value); in DEF_TEST()128 SkFixed fixedOriginal = SkScalarToFixed(position[1].value); in DEF_TEST()
132 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
229 return SkScalarToFixed(x) >> 2; in pin_and_convert()
226 recs->fPos = SkScalarToFixed(curr); in SkGradientShaderBase()227 SkFixed diff = SkScalarToFixed(curr - prev); in SkGradientShaderBase()