/third_party/flutter/skia/samplecode/ |
D | SampleAnimatedText.cpp | 41 float fScale = 1; member in AnimatedTextView 80 canvas->scale(fScale, fScale); in onDrawContent() 102 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f)); in onAnimate() 103 if (fScale >= 2.0f) { in onAnimate() 105 } else if (fScale <= 1.0f) { in onAnimate()
|
D | SampleGlyphTransform.cpp | 46 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent() 62 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate() 75 SkScalar fScale; member in GlyphTransformView
|
D | SampleChineseFling.cpp | 114 SkScalar fScale = 15; member in ChineseZoomView 121 fScale += 0.125f; in onChar() 125 fScale -= 0.125f; in onChar() 162 canvas->scale(fScale, fScale); in onDrawContent()
|
D | SampleAtlas.cpp | 78 SkScalar fScale; member 104 fScale += fDScale; in advance() 105 if (fScale > 2 || fScale < SK_Scalar1/2) { in advance() 123 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform() 158 fRec[i].fScale = 1; in DrawAtlasDrawable()
|
D | SampleFilterQuality.cpp | 142 AnimValue fScale, fAngle; member in FilterQualityView 152 fScale.set(1, SK_Scalar1 / 8, 1); in FilterQualityView() 175 case '3': fScale.inc(-SCALE_DELTA); return true; in onChar() 176 case '4': fScale.inc( SCALE_DELTA); return true; in onChar() 194 canvas->scale(fScale, fScale); in drawTheImage() 275 canvas->drawString(SkStringPrintf("%.8g", (float)fScale), textX, 100, font, paint); in onDrawContent()
|
/third_party/skia/samplecode/ |
D | SampleAnimatedText.cpp | 42 float fScale = 1; member in AnimatedTextView 82 canvas->scale(fScale, fScale); in onDrawContent() 104 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f)); in onAnimate() 105 if (fScale >= 2.0f) { in onAnimate() 107 } else if (fScale <= 1.0f) { in onAnimate()
|
D | SampleGlyphTransform.cpp | 46 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent() 62 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate() 75 SkScalar fScale; member in GlyphTransformView
|
D | SampleChineseFling.cpp | 114 SkScalar fScale = 15; member in ChineseZoomView 121 fScale += 0.125f; in onChar() 125 fScale -= 0.125f; in onChar() 166 canvas->scale(fScale, fScale); in onDrawContent()
|
D | SampleAtlas.cpp | 81 SkScalar fScale; member 107 fScale += fDScale; in advance() 108 if (fScale > 2 || fScale < SK_Scalar1/2) { in advance() 126 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform() 161 fRec[i].fScale = 1; in DrawAtlasDrawable()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Transform.cpp | 31 fScale = {1.f, 1.f}; in Transform() 35 fScale = {1.f, 1.f}; in Transform() 41 SkASSERT(fM != t.fM || (fInvM == t.fInvM && fType == t.fType && fScale == t.fScale)); in operator ==()
|
D | Transform_graphite.h | 57 const SkV2& scaleFactors() const { return fScale; } in scaleFactors() 58 float maxScaleFactor() const { return std::max(fScale.x, fScale.y); } in maxScaleFactor() 72 SkV2 fScale; // always > 0 variable
|
/third_party/skia/modules/skottie/src/ |
D | Transform.cpp | 28 this->bind(abuilder, jscale , fScale); in TransformAdapter2D() 62 * SkMatrix::Scale (fScale.x / 100, fScale.y / 100) // 100% based in totalMatrix() 85 return { fScale.x, fScale.y }; in getScale() 89 fScale = { s.x(), s.y() }; in setScale() 148 this->bind(abuilder, jtransform["s"], fScale); in TransformAdapter3D() 180 scale = static_cast<SkV3>(fScale), in totalMatrix()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkDisplacementMapImageFilter.cpp | 43 , fScale(scale) {} in SkDisplacementMapImageFilter() 63 SkScalar fScale; member in __anon031472de0111::SkDisplacementMapImageFilter 144 buffer.writeScalar(fScale); in flatten() 192 SkVector fScale; member in __anon031472de0211::GrDisplacementMapEffect 280 SkVector scale = SkVector::Make(fScale, fScale); in onFilterImage() 374 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf); in computeFastBounds() 380 SkVector scale = SkVector::Make(fScale, fScale); in onFilterNodeBounds() 469 , fScale(scale) { in GrDisplacementMapEffect() 479 , fScale(that.fScale) {} in GrDisplacementMapEffect() 491 fScale == s.fScale; in onIsEqual() [all …]
|
/third_party/flutter/skia/bench/ |
D | SKPBench.cpp | 27 , fScale(scale) in SKPBench() 83 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw() 132 trans.setTranslate(-fTileRects[j].fLeft/fScale, in drawMPDPicture() 133 -fTileRects[j].fTop/fScale); in drawMPDPicture() 143 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture() 144 -fTileRects[j].fTop / fScale); in drawPicture()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | Repeater.cpp | 35 SG_ATTRIBUTE(Scale , SkV2 , fScale ) 50 * SkMatrix::Scale(std::pow(fScale.x, t), in instanceTransform() 51 std::pow(fScale.y, t)) in instanceTransform() 109 fScale = {1,1}; member in skottie::internal::__anon6b1fd6f40111::RepeaterRenderNode 130 this->bind(abuilder, jtransform["s" ], fScale); in RepeaterAdapter() 143 this->node()->setScale(fScale * 0.01f); in onSync() 156 fScale = { 100, 100 }; member in skottie::internal::__anon6b1fd6f40111::RepeaterAdapter
|
/third_party/skia/src/gpu/tessellate/ |
D | AffineMatrix.h | 29 fScale = float2(m.getScaleX(), m.getScaleY()).xyxy(); 36 return fScale * p0p1 + (fSkew * p0p1.yxwz() + fTrans); in map2Points() 48 return fScale.lo * p + (fSkew.lo * p.yx() + fTrans.lo); in mapPoint() 60 float4 fScale;
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkDisplacementMapEffect.cpp | 45 , fScale(scale) {} in SkDisplacementMapEffectImpl() 65 SkScalar fScale; member in __anone85c1f770111::SkDisplacementMapEffectImpl 187 buffer.writeScalar(fScale); in flatten() 210 const SkVector& scale() const { return fScale; } in scale() 245 SkVector fScale; member in GrDisplacementMapEffect 331 SkVector scale = SkVector::Make(fScale, fScale); in onFilterImage() 430 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf); in computeFastBounds() 436 SkVector scale = SkVector::Make(fScale, fScale); in onFilterNodeBounds() 507 , fScale(scale) { in GrDisplacementMapEffect() 522 , fScale(that.fScale) { in GrDisplacementMapEffect() [all …]
|
/third_party/flutter/skia/gm/ |
D | blurignorexform.cpp | 75 canvas->scale(scale.fScale, scale.fScale); in onDraw() 77 SkScalar coord = 50.0f * 1.0f / scale.fScale; in onDraw() 130 float fScale; member
|
D | lcdtext.cpp | 85 SkScalar fScale; in onDraw() member 101 ScaleAbout(canvas, rec[i].fScale, rec[i].fScale, loc.x(), loc.y()); in onDraw()
|
/third_party/skia/gm/ |
D | blurignorexform.cpp | 75 canvas->scale(scale.fScale, scale.fScale); in onDraw() 77 SkScalar coord = 50.0f * 1.0f / scale.fScale; in onDraw() 130 float fScale; member
|
/third_party/skia/bench/ |
D | SKPBench.cpp | 26 , fScale(scale) in SKPBench() 80 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw() 129 const SkMatrix trans = SkMatrix::Translate(-fTileRects[j].fLeft / fScale, in drawPicture() 130 -fTileRects[j].fTop / fScale); in drawPicture()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_gain_map.cpp | 35 dng_point_real64 fScale; member in dng_gain_map_interpolator 103 , fScale (1.0 / mapBounds.H (), in dng_gain_map_interpolator() 124 real64 rowIndexF = (fScale.v * (row + fOffset.v) - in dng_gain_map_interpolator() 190 real64 colIndexF = ((fScale.h * (fColumn + fOffset.h)) - in ResetColumn() 200 fResetColumn = (int32) ceil (fMap.Origin ().h / fScale.h - fOffset.h); in ResetColumn() 237 fValueStep = (real32) ((delta * fScale.h) / fMap.Spacing ().h); in ResetColumn() 240 fMap.Origin ().h) / fScale.h - fOffset.h); in ResetColumn()
|
/third_party/skia/modules/skottie/src/effects/ |
D | DisplacementMapEffect.cpp | 113 SG_ATTRIBUTE(Scale , SkV2 , fScale ) 170 (SkScalarNearlyZero(fScale.x) && SkScalarNearlyZero(fScale.y))) { in buildEffectShader() 216 const auto s = fScale * 2; in buildEffectShader() 249 bounds.outset(std::abs(fScale.x), std::abs(fScale.y)); in onRevalidate() 302 SkV2 fScale = { 0, 0 }; member in skottie::internal::__anonaeeeb5d30111::DisplacementNode
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 73 t.postScale(fScale.x() / 100, fScale.y() / 100); // 100% based in totalMatrix() 104 t.postScale(fScale.fX / 100, fScale.fY / 100, fScale.fZ / 100); in totalMatrix() 199 m.postScale(std::pow(fScale.x() * .01f, fOffset), in apply() 200 std::pow(fScale.y() * .01f, fOffset)); in apply()
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 391 SkVector fScale; member in SkScalerContext_FreeType 866 fRec.computeMatrices(SkScalerContextRec::kFull_PreMatrixScale, &fScale, &fMatrix22Scalar); in SkScalerContext_FreeType() 867 FT_F26Dot6 scaleX = SkScalarToFDot6(fScale.fX); in SkScalerContext_FreeType() 868 FT_F26Dot6 scaleY = SkScalarToFDot6(fScale.fY); in SkScalerContext_FreeType() 874 fFaceRec->fFace->family_name, fScale.fX, fScale.fY); in SkScalerContext_FreeType() 881 if (fScale.fX < 1 || fScale.fY < 1) { in SkScalerContext_FreeType() 886 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType() 893 fFaceRec->fFace->family_name, fScale.fY); in SkScalerContext_FreeType() 907 fMatrix22Scalar.preScale(fScale.x() / fFaceRec->fFace->size->metrics.x_ppem, in SkScalerContext_FreeType() 908 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem); in SkScalerContext_FreeType() [all …]
|