Home
last modified time | relevance | path

Searched refs:SkScalarToFixed (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/core/
DSkScan.h111 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set()
112 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set()
113 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set()
114 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
DSkDraw.cpp217 SkScalarToFixed(r.fLeft), SkScalarToFixed(r.fTop), in make_xrect()
218 SkScalarToFixed(r.fRight), SkScalarToFixed(r.fBottom) in make_xrect()
/external/skqp/src/core/
DSkScan.h121 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set()
122 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set()
123 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set()
124 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
DSkFindAndPlaceGlyph.h57 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0}; in SubpixelAlignment()
59 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
61 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), in SubpixelAlignment()
62 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
DSkDraw.cpp214 SkScalarToFixed(r.fLeft), SkScalarToFixed(r.fTop), in make_xrect()
215 SkScalarToFixed(r.fRight), SkScalarToFixed(r.fBottom) in make_xrect()
DSkBitmapProcState.cpp254 fInvSx = SkScalarToFixed (fInvMatrix.getScaleX()); in chooseProcs()
256 fInvKy = SkScalarToFixed (fInvMatrix.getSkewY()); in chooseProcs()
DSkGlyphRunPainter.cpp56 SkFixed lookupX = SkScalarToFixed(SkScalarFraction(position.x())), in SubpixelLookup()
57 lookupY = SkScalarToFixed(SkScalarFraction(position.y())); in SubpixelLookup()
/external/skqp/src/effects/
DSkEmbossMask.cpp53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
/external/skia/src/effects/
DSkEmbossMask.cpp53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp38 SkFixed fracX = SkScalarToFixed(tx) & 0x0000FF00; in GrSmallPathShapeDataKey()
39 SkFixed fracY = SkScalarToFixed(ty) & 0x0000FF00; in GrSmallPathShapeDataKey()
/external/skia/tests/
DTypefaceTest.cpp219 SkFixed fixedRead = SkScalarToFixed(actual[actualIdx].value); in DEF_TEST()
220 SkFixed fixedOriginal = SkScalarToFixed(expected.coordinates[expectedIdx].value); in DEF_TEST()
399 SkFixed fixedActualMin = SkScalarToFixed(actual[actualIdx].min); in DEF_TEST()
400 SkFixed fixedExpectedMin = SkScalarToFixed(expected[expectedIdx].min); in DEF_TEST()
405 SkFixed fixedActualMax = SkScalarToFixed(actual[actualIdx].max); in DEF_TEST()
406 SkFixed fixedExpectedMax = SkScalarToFixed(expected[expectedIdx].max); in DEF_TEST()
411 SkFixed fixedActualDefault = SkScalarToFixed(actual[actualIdx].def); in DEF_TEST()
412 SkFixed fixedExpectedDefault = SkScalarToFixed(expected[expectedIdx].def); in DEF_TEST()
/external/skia/tools/
Dblob_cache_sim.cpp44 SkFixed fx = (SkScalarToFixed(offset.x()) >> 13) & 7; in main()
45 SkFixed fy = (SkScalarToFixed(offset.y()) >> 13) & 7; in main()
/external/skqp/include/private/
DSkFixed.h122 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
/external/skia/include/private/
DSkFixed.h123 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
/external/skqp/tests/
DTypefaceTest.cpp176 SkFixed fixedRead = SkScalarToFixed(positionRead[0].value); in DEF_TEST()
177 SkFixed fixedOriginal = SkScalarToFixed(position[1].value); in DEF_TEST()
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp309 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath()
310 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
DGrBlurUtils.cpp354 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in draw_shape_with_mask_filter()
355 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in draw_shape_with_mask_filter()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp298 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath()
299 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
DGrBlurUtils.cpp334 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in compute_key_and_clip_bounds()
335 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in compute_key_and_clip_bounds()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1122 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()
1123 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()
1124 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()
1125 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()
2148 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
2172 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
/external/skqp/src/utils/
DSkInterpolator.cpp230 return SkScalarToFixed(x) >> 2; in pin_and_convert()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp989 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType()
990 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType()
991 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType()
992 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType()
1977 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
/external/skqp/src/gpu/effects/
DGrCircleBlurFragmentProcessor.cpp190 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_texture()
/external/skia/src/gpu/effects/generated/
DGrCircleBlurFragmentProcessor.cpp211 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_effect()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp92 SkFixed fracX = SkScalarToFixed(tx) & 0x0000FF00; in set()
93 SkFixed fracY = SkScalarToFixed(ty) & 0x0000FF00; in set()

12