Home
last modified time | relevance | path

Searched refs:SkScalarCeilToScalar (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/gm/
Daarecteffect.cpp88 x += SkScalarCeilToScalar(rect.width() + kDX); in onDraw()
96 x += SkScalarCeilToScalar(r.width() + kDX); in onDraw()
101 y += SkScalarCeilToScalar(r.height() + 20.f); in onDraw()
Dtypeface.cpp236 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
251 SkScalar dx = SkScalarCeilToScalar(font.measureText(
283 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
300 SkScalar dx = SkScalarCeilToScalar(font.measureText(
337 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
351 SkScalar dx = SkScalarCeilToScalar(font.measureText(
Dfontcache.cpp113 x = SkScalarCeilToScalar(x); in drawText()
116 y += SkScalarCeilToScalar(size + 3); in drawText()
Dconvexpolyeffect.cpp123 x += SkScalarCeilToScalar(path->getBounds().width() + kDX); in onDraw()
136 y += SkScalarCeilToScalar(path->getBounds().height() + 20.f); in onDraw()
Dimagefromyuvtextures.cpp252 canvas->translate(kPad + SkScalarCeilToScalar(scale*s1.width()), 0); in onDraw()
257 canvas->translate(kPad + SkScalarCeilToScalar(scale*s2.width()), 0); in onDraw()
261 canvas->translate(0, kPad + SkScalarCeilToScalar(scale*h)); in onDraw()
Dtextblobtransforms.cpp84 SkScalar xOffset = SkScalarCeilToScalar(bounds.width()); in onDraw()
85 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw()
Dtextblobrandomfont.cpp133 SkScalar stride = SkScalarCeilToScalar(fBlob->bounds().height()); in onDraw()
/external/skqp/gm/
Dtypeface.cpp242 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
257 SkScalar dx = SkScalarCeilToScalar(
289 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
305 SkScalar dx = SkScalarCeilToScalar(font.measureText(&character, 1,
342 SkScalar dy = SkScalarCeilToScalar(font.getMetrics(nullptr));
355 SkScalar dx = SkScalarCeilToScalar(font.measureText(&character, 1,
Dconvexpolyeffect.cpp221 x += SkScalarCeilToScalar(path->getBounds().width() + kDX); in onDraw()
234 y += SkScalarCeilToScalar(path->getBounds().height() + 20.f); in onDraw()
261 x += SkScalarCeilToScalar(rect.width() + kDX); in onDraw()
269 x += SkScalarCeilToScalar(iter.get()->width() + kDX); in onDraw()
274 y += SkScalarCeilToScalar(iter.get()->height() + 20.f); in onDraw()
Dfontcache.cpp113 x = SkScalarCeilToScalar(x); in drawText()
116 y += SkScalarCeilToScalar(size + 3); in drawText()
Dtextblobtransforms.cpp77 SkScalar xOffset = SkScalarCeilToScalar(bounds.width()); in onDraw()
78 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw()
Datlastext.cpp138 x = SkScalarCeilToScalar(x); in drawText()
146 y += SkScalarCeilToScalar(size + 3); in drawText()
Dtextblobrandomfont.cpp122 SkScalar stride = SkScalarCeilToScalar(fBlob->bounds().height()); in onDraw()
/external/skqp/src/core/
DSkBlurMF.cpp251 newRadii[0] = { SkScalarCeilToScalar(devRadiiUL.fX), SkScalarCeilToScalar(devRadiiUL.fY) }; in SkComputeBlurredRRectParams()
252 newRadii[1] = { SkScalarCeilToScalar(devRadiiUR.fX), SkScalarCeilToScalar(devRadiiUR.fY) }; in SkComputeBlurredRRectParams()
253 newRadii[2] = { SkScalarCeilToScalar(devRadiiLR.fX), SkScalarCeilToScalar(devRadiiLR.fY) }; in SkComputeBlurredRRectParams()
254 newRadii[3] = { SkScalarCeilToScalar(devRadiiLL.fX), SkScalarCeilToScalar(devRadiiLL.fY) }; in SkComputeBlurredRRectParams()
820 float extra=3.f*SkScalarCeilToScalar(xformedSigma-1/6.0f); in directFilterMaskGPU()
/external/skqp/src/gpu/
DGrClip.h119 SkScalarCeilToScalar(bounds.fRight - kBoundsTolerance), in GetPixelBounds()
120 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); in GetPixelBounds()
/external/skia/src/core/
DSkGpuBlurUtils.cpp784 newRadii[0] = { SkScalarCeilToScalar(devRadiiUL.fX), SkScalarCeilToScalar(devRadiiUL.fY) }; in ComputeBlurredRRectParams()
785 newRadii[1] = { SkScalarCeilToScalar(devRadiiUR.fX), SkScalarCeilToScalar(devRadiiUR.fY) }; in ComputeBlurredRRectParams()
786 newRadii[2] = { SkScalarCeilToScalar(devRadiiLR.fX), SkScalarCeilToScalar(devRadiiLR.fY) }; in ComputeBlurredRRectParams()
787 newRadii[3] = { SkScalarCeilToScalar(devRadiiLL.fX), SkScalarCeilToScalar(devRadiiLL.fY) }; in ComputeBlurredRRectParams()
/external/skia/src/gpu/
DGrClip.h216 SkScalarCeilToScalar(bounds.fRight - kBoundsTolerance), in GetPixelBounds()
217 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); in GetPixelBounds()
/external/skia/include/core/
DSkScalar.h30 #define SkScalarCeilToScalar(x) sk_float_ceil(x) macro
DSkRect.h1261 SkScalarCeilToScalar(fRight), SkScalarCeilToScalar(fBottom)); in roundOut()
/external/skqp/include/core/
DSkScalar.h30 #define SkScalarCeilToScalar(x) sk_float_ceil(x) macro
DSkRect.h1458 SkScalarCeilToScalar(fRight), in roundOut()
1459 SkScalarCeilToScalar(fBottom)); in roundOut()
/external/skqp/src/gpu/effects/
DGrRRectBlurEffect.cpp118 float blurRadiusValue = 3.f * SkScalarCeilToScalar(sigma - 1 / 6.0f); in onSetData()
DGrRectBlurEffect.cpp122 pdman.set1f(profileSize, SkScalarCeilToScalar(6 * sigma)); in onSetData()
DGrRRectBlurEffect.fp196 float blurRadiusValue = 3.f * SkScalarCeilToScalar(sigma - 1 / 6.0f);
DGrRectBlurEffect.fp147 pdman.set1f(profileSize, SkScalarCeilToScalar(6 * sigma));

12