Home
last modified time | relevance | path

Searched refs:fWeight (Results 1 – 25 of 68) sorted by relevance

123

/third_party/flutter/skia/src/pathops/
DSkPathOpsConic.cpp52 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
53 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
95 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
97 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fX, fWeight, t), denominator), in ptAtT()
98 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fY, fWeight, t), denominator) in ptAtT()
131 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
133 az = conic_eval_denominator(fWeight, t1); in subDivide()
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h19 SkScalar fWeight; member
31 fWeight = 0; in debugInit()
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 fWeight = weight; in set()
DSkOpSegment.h199 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
203 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
263 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
313 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
422 return fWeight; in weight()
436 SkScalar fWeight; variable
DSkPathOpsRect.cpp36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); in setBounds()
39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); in setBounds()
/third_party/skia/src/pathops/
DSkPathOpsConic.cpp52 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
53 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
95 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
97 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fX, fWeight, t), denominator), in ptAtT()
98 sk_ieee_double_divide(conic_eval_numerator(&fPts[0].fY, fWeight, t), denominator) in ptAtT()
131 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
133 az = conic_eval_denominator(fWeight, t1); in subDivide()
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h19 SkScalar fWeight; member
31 fWeight = 0; in debugInit()
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 fWeight = weight; in set()
DSkOpSegment.h199 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
203 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
263 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
313 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
422 return fWeight; in weight()
436 SkScalar fWeight; variable
DSkPathOpsRect.cpp36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); in setBounds()
39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); in setBounds()
/third_party/skia/samplecode/
DSampleMixer.cpp31 float fWeight = 0; member in MixerView
45 paint.setColorFilter(SkColorFilters::Lerp(fWeight, cf0, cf1)); in dodraw()
46 canvas->drawImage(fImg, fImg->width() + gap * fWeight, 0, in dodraw()
69 fWeight += fDW; in onDrawContent()
70 if (fWeight > 1 || fWeight < 0) { in onDrawContent()
/third_party/flutter/skia/tests/
DPathOpsConicIntersectionTest.cpp48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
120 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeDPng()
139 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
148 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
163 conic.fW = dConic.fWeight; in chopBothWays()
249 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
278 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
281 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
302 c1.debugSet(conic1.fPts.fPts, conic1.fWeight); in oneOff()
[all …]
DPathOpsConicLineIntersectionTest.cpp78 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
107 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
116 floatConic.set(pts, conic.fWeight); in DEF_TEST()
/third_party/skia/tests/
DPathOpsConicIntersectionTest.cpp48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
120 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeDPng()
139 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
148 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
163 conic.fW = dConic.fWeight; in chopBothWays()
249 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
278 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
281 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
302 c1.debugSet(conic1.fPts.fPts, conic1.fWeight); in oneOff()
[all …]
DPathOpsConicLineIntersectionTest.cpp78 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
106 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
115 floatConic.set(pts, conic.fWeight); in DEF_TEST()
/third_party/flutter/skia/samplecode/
DSampleMixer.cpp31 float fWeight = 0; member in MixerView
45 paint.setColorFilter(SkColorFilters::Lerp(fWeight, cf0, cf1)); in dodraw()
46 canvas->drawImage(fImg, fImg->width() + gap * fWeight, 0, &paint); in dodraw()
68 fWeight += fDW; in onDrawContent()
69 if (fWeight > 1 || fWeight < 0) { in onDrawContent()
/third_party/skia/modules/skottie/src/effects/
DTritoneEffect.cpp51 .bind(kBlendAmount_Index, fWeight );
60 fCF->setWeight((100 - fWeight) / 100); in onSync()
71 ScalarValue fWeight = 0; member in skottie::internal::__anondcd59a9b0111::TritoneAdapter
/third_party/flutter/skia/src/core/
DSkColorFilter.cpp261 : fCF0(std::move(cf0)), fCF1(std::move(cf1)), fWeight(weight) in SkMixerColorFilter()
264 SkASSERT(fWeight >= 0 && fWeight <= 1); in SkMixerColorFilter()
297 float* storage = rec.fAlloc->make<float>(fWeight); in onAppendStages()
308 fWeight); in asFragmentProcessor()
316 buffer.writeScalar(fWeight); in flatten()
324 const float fWeight; member in SkMixerColorFilter
/third_party/skia/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/third_party/flutter/skia/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/third_party/flutter/skia/modules/sksg/include/
DSkSGColorFilter.h104 SG_ATTRIBUTE(Weight, float, fWeight)
114 float fWeight = 0; variable
/third_party/flutter/skia/src/shaders/
DSkComposeShader.h48 , fWeight(weight) in SkShader_Lerp()
67 const float fWeight; variable
DSkComposeShader.cpp157 buffer.writeScalar(fWeight); in flatten()
169 rec.fPipeline->append(SkRasterPipeline::lerp_1_float, &fWeight); in onAppendStages()
239 return GrComposeLerpEffect::Make(std::move(fpA), std::move(fpB), fWeight); in asFragmentProcessor()
/third_party/skia/modules/sksg/include/
DSkSGColorFilter.h104 SG_ATTRIBUTE(Weight, float, fWeight)
114 float fWeight = 0; variable
/third_party/flutter/skia/src/ports/
DSkFontMgr_config_parser.h80 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
84 int fWeight; member
DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
/third_party/skia/src/ports/
DSkFontMgr_config_parser.h80 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
84 int fWeight; member

123