Home
last modified time | relevance | path

Searched refs:SkMaxScalar (Results 1 – 25 of 31) sorted by relevance

12

/external/skqp/src/core/
DSkRect.cpp89 SkScalar L = SkMaxScalar(al, bl); \
91 SkScalar T = SkMaxScalar(at, bt); \
124 fRight = SkMaxScalar(fRight, right); in join()
125 fBottom = SkMaxScalar(fBottom, bottom); in join()
DSkRectPriv.h45 r->fRight = SkMaxScalar(pt.fX, r->fRight); in GrowToInclude()
47 r->fBottom = SkMaxScalar(pt.fY, r->fBottom); in GrowToInclude()
DSkRRect.cpp67 leftRad = SkMaxScalar(leftRad, 0); in setNinePatch()
68 topRad = SkMaxScalar(topRad, 0); in setNinePatch()
69 rightRad = SkMaxScalar(rightRad, 0); in setNinePatch()
70 bottomRad = SkMaxScalar(bottomRad, 0); in setNinePatch()
DSkPathMeasure.cpp150 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy()
159 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy()
165 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
DSkRecordDraw.cpp406 SkScalar stroke = SkMaxScalar(op.paint.getStrokeWidth(), 0.01f); in bounds()
DSkMatrix.cpp1441 results[0] = SkMaxScalar(SkScalarAbs(m[SkMatrix::kMScaleX]), in get_scale_factor()
1473 results[0] = SkMaxScalar(a, c); in get_scale_factor()
DSkTextBlob.cpp326 maxX = SkMaxScalar(x, maxX); in ConservativeRunBounds()
/external/skqp/include/core/
DSkRect.h1084 fRight = SkMaxScalar(p0.fX, p1.fX); in set()
1086 fBottom = SkMaxScalar(p0.fY, p1.fY); in set()
1276 SkScalar L = SkMaxScalar(al, bl); in Intersects()
1278 SkScalar T = SkMaxScalar(at, bt); in Intersects()
1378 fRight = SkMaxScalar(fRight, r.right()); in joinPossiblyEmptyRect()
1379 fBottom = SkMaxScalar(fBottom, r.bottom()); in joinPossiblyEmptyRect()
1523 SkMaxScalar(fLeft, fRight), SkMaxScalar(fTop, fBottom)); in makeSorted()
DSkScalar.h132 static inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function
/external/skqp/samplecode/
DSample.cpp90 width = SkMaxScalar(0, width); in setSize()
91 height = SkMaxScalar(0, height); in setSize()
DSampleThinAA.cpp412 case '-': fStrokeWidth = SkMaxScalar(0.1f, fStrokeWidth - 0.05f); return true; in onQuery()
/external/skqp/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp94 sigma.fX = SkMaxScalar(0, sigma.fX); in onFilterImage()
95 sigma.fY = SkMaxScalar(0, sigma.fY); in onFilterImage()
DSkMagnifierImageFilter.cpp167 dist = SkMaxScalar(kScalar2 - dist, 0); in onFilterImage()
DSkAlphaThresholdFilter.cpp64 return SkMinScalar(SkMaxScalar(x, 0), 1); in pin_0_1()
/external/skqp/gm/
Ddrawminibitmaprect.cpp27 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
Dhairlines.cpp204 maxH = SkMaxScalar(maxH, bounds.height()); in onDraw()
Ddrawbitmaprect.cpp48 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
Dconvexpolyclip.cpp27 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp()
/external/skqp/tools/sk_app/
DCommandSet.cpp129 keyWidth = SkMaxScalar(keyWidth, in drawHelp()
/external/skqp/src/utils/
DSkPatchUtils.cpp185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail()
186 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
/external/skqp/src/shaders/
DSkPictureShader.cpp199 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader()
/external/skqp/tests/
DPaintTest.cpp183 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST()
/external/skqp/src/gpu/
DGrPathUtils.cpp31 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc()
345 scale = SkMaxScalar(scale, SkScalarAbs(klm[i])); in getConicKLM()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp207 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath()
407 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws()
/external/skqp/src/gpu/text/
DGrTextBlob.h152 fMaxMinScale = SkMaxScalar(scaledMax, fMaxMinScale); in setMinAndMaxScale()

12