Home
last modified time | relevance | path

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

1234

/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()
/third_party/flutter/skia/gm/
Dimagefiltersscaled.cpp119 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw()
144 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw()
145 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
Dimageresizetiled.cpp41 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in DEF_SIMPLE_GM()
42 SkScalarInvert(RESIZE_FACTOR)); in DEF_SIMPLE_GM()
Dimagefiltersstroked.cpp91 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw()
92 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
Dresizeimagefilter.cpp53 matrix.setScale(SkScalarInvert(deviceScaleX), SkScalarInvert(deviceScaleY)); in draw()
Dimagefiltersclipped.cpp66 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), SkScalarInvert(RESIZE_FACTOR_Y)); in draw_clipped_filter()
/third_party/flutter/skia/src/core/
DSkBitmapController.cpp73 const SkSize scale = SkSize::Make(SkScalarInvert(invScaleSize.width()), in processMediumRequest()
74 SkScalarInvert(invScaleSize.height())); in processMediumRequest()
DSkMaskGamma.cpp31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
53 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
DSkStrike.cpp234 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
/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()
/third_party/skia/tests/
DPointTest.cpp40 const SkScalar variants[] = { val, -val, SkScalarInvert(val), -SkScalarInvert(val) }; in test_normalize_cannormalize_consistent()
/third_party/flutter/skia/tests/
DPointTest.cpp40 const SkScalar variants[] = { val, -val, SkScalarInvert(val), -SkScalarInvert(val) }; in test_normalize_cannormalize_consistent()
/third_party/flutter/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/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/flutter/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp148 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.width())); in onSetData()
152 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.height())); in onSetData()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrCircleEffect.cpp76 SkScalarInvert(effectiveRadius)); in onSetData()
/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp20 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()

1234