Home
last modified time | relevance | path

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

12

/third_party/skia/gm/
Dimagefiltersscaled.cpp114 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
139 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
140 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dimageresizetiled.cpp40 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in DEF_SIMPLE_GM()
41 SkScalarInvert(RESIZE_FACTOR)); in DEF_SIMPLE_GM()
Dimagefiltersstroked.cpp90 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw()
91 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
Dresizeimagefilter.cpp52 matrix.setScale(SkScalarInvert(deviceScaleX), SkScalarInvert(deviceScaleY)); in draw()
Dimagefiltersclipped.cpp65 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), SkScalarInvert(RESIZE_FACTOR_Y)); in draw_clipped_filter()
Dglyph_pos.cpp78 perspective.setPerspX(-SkScalarInvert(340)); in draw_gm()
Ddftext.cpp120 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw()
/third_party/skia/src/core/
DSkMaskGamma.cpp31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
53 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
DSkImageFilterTypes.cpp64 remainder.preScale(SkScalarInvert(scale), SkScalarInvert(scale)); in decomposeCTM()
DSkScalerCache.cpp257 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
DSkScalerContext.cpp905 sA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
912 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
DSkMatrix.cpp836 invX = SkScalarInvert(invX); in invertNonIdentity()
837 invY = SkScalarInvert(invY); in invertNonIdentity()
1594 remaining->preScale(SkScalarInvert(sx), SkScalarInvert(sy)); in decomposeScale()
1745 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cosQ*cosQ + sinQ*sinQ)); in SkDecomposeUpper2x2()
1780 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cos1*cos1 + sin1*sin1)); in SkDecomposeUpper2x2()
DSkDrawShadowInfo.cpp177 SkScalar devToSrcScale = SkScalarInvert(ctm.getMinScale()); in GetLocalBounds()
/third_party/skia/tests/
DPointTest.cpp40 const SkScalar variants[] = { val, -val, SkScalarInvert(val), -SkScalarInvert(val) }; in test_normalize_cannormalize_consistent()
/third_party/skia/src/shaders/gradients/
DSkRadialGradient.cpp16 SkScalar inv = SkScalarInvert(radius); in rad_to_unit_matrix()
DSkLinearGradient.cpp17 SkScalar inv = mag ? SkScalarInvert(mag) : 0; in pts_to_unit_matrix()
/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp20 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()
DSkDashPathEffect.cpp213 tangent.scale(SkScalarInvert(length)); in onAsPoints()
/third_party/skia/include/core/
DSkScalar.h108 #define SkScalarInvert(x) sk_ieee_float_divide_TODO_IS_DIVIDE_BY_ZERO_SAFE_HERE(SK_Scalar… macro
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.cpp2006 SkScalarInvert(xRadius), in onPrepareDraws()
2007 SkScalarInvert(yRadius), in onPrepareDraws()
2008 SkScalarInvert(ellipse.fInnerXRadius), in onPrepareDraws()
2009 SkScalarInvert(ellipse.fInnerYRadius) in onPrepareDraws()
3026 SkScalarInvert(rrect.fXRadius), in onPrepareDraws()
3027 SkScalarInvert(rrect.fYRadius), in onPrepareDraws()
3028 SkScalarInvert(rrect.fInnerXRadius), in onPrepareDraws()
3029 SkScalarInvert(rrect.fInnerYRadius) in onPrepareDraws()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp659 m.setScale(SkScalarInvert(scaleX), SkScalarInvert(scaleY)); in generatePath()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp420 invDALengthSqd = SkScalarInvert(invDALengthSqd); in convert_noninflect_cubic_to_quads_with_constraint()
481 z = SkScalarInvert(z); in convert_noninflect_cubic_to_quads_with_constraint()
/third_party/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp165 SkScalar invInset = fInset > 0 ? SkScalarInvert(fInset) : SK_Scalar1; in onFilterImage()
/third_party/skia/src/pdf/
DSkPDFFont.cpp558 fontMatrix.setScale(SkScalarInvert(emSize), -SkScalarInvert(emSize)); in emit_subset_type3()
DSkPDFGradientShader.cpp46 SkScalar inv = mag ? SkScalarInvert(mag) : 0; in unit_to_points_matrix()
74 static const SkScalar kColorScale = SkScalarInvert(255); in interpolate_color_code()

12