Home
last modified time | relevance | path

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

123

/external/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()
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()
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
/external/skqp/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()
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()
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
/external/skqp/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()
121 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeDPng()
140 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
149 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
165 conic.fW = dConic.fWeight; in chopBothWays()
251 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
280 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
283 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
304 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()
DPathOpsTestCommon.h22 SkScalar fWeight; member
/external/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()
DPathOpsTestCommon.h22 SkScalar fWeight; member
/external/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()
/external/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::__anon80c723f60111::TritoneAdapter
/external/skia/src/core/
DSkColorFilter.cpp288 : fCF0(std::move(cf0)), fCF1(std::move(cf1)), fWeight(weight) in SkMixerColorFilter()
291 SkASSERT(fWeight >= 0 && fWeight <= 1); in SkMixerColorFilter()
324 float* storage = rec.fAlloc->make<float>(fWeight); in onAppendStages()
335 fWeight); in asFragmentProcessor()
343 buffer.writeScalar(fWeight); in flatten()
351 const float fWeight; member in SkMixerColorFilter
/external/skia/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/external/skqp/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/external/skia/modules/sksg/include/
DSkSGColorFilter.h104 SG_ATTRIBUTE(Weight, float, fWeight)
114 float fWeight = 0; variable
/external/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()
/external/skqp/src/ports/
DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
/external/skia/src/ports/
DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
/external/skia/modules/skottie/src/layers/
DTextLayer.cpp32 const SkFontStyle::Weight fWeight; in FontStyle() member
64 weight = w.fWeight; in FontStyle()

123