Home
last modified time | relevance | path

Searched refs:SkScalarInvert (Results 1 – 25 of 43) sorted by relevance

12

/external/skia/gm/
Dimagefiltersscaled.cpp110 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
134 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
135 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dimageresizetiled.cpp48 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
49 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dresizeimagefilter.cpp41 matrix.setScale(SkScalarInvert(deviceScaleX), in draw()
42 SkScalarInvert(deviceScaleY)); in draw()
Dimagefiltersclipped.cpp115 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw()
116 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
Dglyph_pos.cpp96 perspective.setPerspX(-SkScalarInvert(340)); in onDraw()
Ddftext.cpp118 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw()
/external/skia/src/utils/
DSkBoundaryPatch.cpp49 const SkScalar invR = SkScalarInvert(SkIntToScalar(rows - 1)); in evalPatch()
50 const SkScalar invC = SkScalarInvert(SkIntToScalar(cols - 1)); in evalPatch()
DSkDashPath.cpp173 fTangent.scale(SkScalarInvert(pathLength)); in init()
/external/skia/src/core/
DSkMaskGamma.cpp30 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
52 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
DSkMatrix.cpp349 this->setScale(SkScalarInvert(divx), SkScalarInvert(divy)); in setIDiv()
793 invX = SkScalarInvert(invX); in invertNonIdentity()
794 invY = SkScalarInvert(invY); in invertNonIdentity()
1383 float invScale = SkScalarInvert(scale.fX); in Poly4Proc()
1388 invScale = SkScalarInvert(scale.fY); in Poly4Proc()
1610 remaining->postScale(SkScalarInvert(sx), SkScalarInvert(sy)); in decomposeScale()
1741 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cosQ*cosQ + sinQ*sinQ)); in SkDecomposeUpper2x2()
1776 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cos1*cos1 + sin1*sin1)); in SkDecomposeUpper2x2()
DSkScalerContext.cpp815 sA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
822 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
DSkGlyphCache.cpp352 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
DSkGeometry.cpp783 SkScalar inva = SkScalarInvert(coeff[0]); in solve_cubic_poly()
1318 Sk2s scale = Sk2s(SkScalarInvert(SK_Scalar1 + fW)); in chop()
1568 offCurve.setLength(SkScalarInvert(cosThetaOver2)); in BuildUnitArc()
/external/skia/experimental/
DSkSetPoly3To3.cpp49 SkScalar invDet = SkScalarInvert(det); in SkSetPoly3To3()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp82 { SkScalarInvert(baseFrequencyX), SkScalarInvert(baseFrequencyY) }, in PaintingData()
87 fBaseFrequency.set(SkScalarInvert(vec[0].fX), SkScalarInvert(vec[0].fY)); in PaintingData()
133 static const SkScalar gInvBlockSizef = SkScalarInvert(SkIntToScalar(kBlockSize)); in init()
DSkColorCubeFilter.cpp93 static const SkScalar inv8bit = SkScalarInvert(SkIntToScalar(255)); in initProcessingLuts()
333 pdman.set1f(fColorCubeInvSizeUni, SkScalarToFloat(SkScalarInvert(size))); in setData()
DSkMagnifierImageFilter.cpp293 SkScalar invInset = fInset > 0 ? SkScalarInvert(fInset) : SK_Scalar1; in asFragmentProcessor()
339 SkScalar inv_inset = fInset > 0 ? SkScalarInvert(fInset) : SK_Scalar1; in onFilterImage()
DSkDashPathEffect.cpp208 tangent.scale(SkScalarInvert(length)); in asPoints()
/external/skia/include/effects/
DSkLightingImageFilter.h27 SkScalar scale = SkScalarInvert(SkScalarSqrt(dot(*this)) + SK_ScalarNearlyZero); in normalize()
/external/skia/src/gpu/
DGrOvalRenderer.cpp952 SkScalar xRadRecip = SkScalarInvert(xRadius); in generateGeometry()
953 SkScalar yRadRecip = SkScalarInvert(yRadius); in generateGeometry()
954 SkScalar xInnerRadRecip = SkScalarInvert(geom.fInnerXRadius); in generateGeometry()
955 SkScalar yInnerRadRecip = SkScalarInvert(geom.fInnerYRadius); in generateGeometry()
1772 SkScalar xRadRecip = SkScalarInvert(args.fXRadius); in generateGeometry()
1773 SkScalar yRadRecip = SkScalarInvert(args.fYRadius); in generateGeometry()
1774 SkScalar xInnerRadRecip = SkScalarInvert(args.fInnerXRadius); in generateGeometry()
1775 SkScalar yInnerRadRecip = SkScalarInvert(args.fInnerYRadius); in generateGeometry()
DGrPathUtils.cpp439 invDALengthSqd = SkScalarInvert(invDALengthSqd); in convert_noninflect_cubic_to_quads()
507 z = SkScalarInvert(z); in convert_noninflect_cubic_to_quads()
/external/skia/include/core/
DSkScalar.h191 #define SkScalarInvert(x) (SK_Scalar1 / (x)) macro
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp49 SkScalar invDiffLen = SkScalarInvert(diffLen); in set_matrix_edge_conical()
341 SkScalar invFocalX = SkScalarInvert(*focalX); in set_matrix_focal_conical()
360 SkScalar s = SkScalarInvert(oneMinusF2); in set_matrix_focal_conical()
DSkTwoPointConicalGradient.cpp308 SkScalar invDiffLen = SkScalarInvert(diffLen); in asABitmap()
/external/skia/src/gpu/effects/
DGrOvalEffect.cpp179 SkScalarInvert(radius)); in setData()

12