Home
last modified time | relevance | path

Searched refs:fWeight (Results 1 - 25 of 32) sorted by relevance

12

/third_party/skia/src/pathops/
H A 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, mid in subDivide()
[all...]
H A DSkPathOpsConic.h19 SkScalar fWeight; member
31 fWeight = 0; in debugInit()
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 fWeight = weight; in set()
H A 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; member in SkOpSegment
H A 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()
H A DSkPathOpsCurve.h20 SkScalar fWeight; member
34 SkDEBUGCODE(fWeight = 1); in set()
42 SkDEBUGCODE(fWeight = 1); in set()
H A DSkDConicLineIntersection.cpp137 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
H A DSkOpSegment.cpp185 curvePart.fCurve.fConic.fWeight); in addCurveTo()
820 fWeight = weight; in init()
1640 edge->fConic.fWeight = fWeight; in subDivide()
1656 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
1657 startT, endT, &edge->fConic.fWeight); in subDivide()
/third_party/skia/samplecode/
H A 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;
70 if (fWeight > 1 || fWeight < 0) {
H A DSampleQuadStroker.cpp136 SkScalar fWeight; member in QuadStrokerView
182 fWeight = 1; in QuadStrokerView()
602 path.conicTo(fPts[5], fPts[6], fWeight);
691 draw_control(canvas, fWeightControl, fWeight, 0, 5, "weight");
782 fWeight = MapScreenYtoValue(click->fCurr.fY, fWeightControl, 0, 5);
/third_party/skia/tests/
H A 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...]
H A 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()
H A DPathOpsTestCommon.h22 SkScalar fWeight; member
H A DPathOpsConicQuadIntersectionTest.cpp37 conic.debugSet(c.fPts.fPts, c.fWeight); in conicQuadIntersection()
H A DPathOpsCubicConicIntersectionTest.cpp52 conic.debugSet(co.fPts.fPts, co.fWeight); in cubicConicIntersection()
/third_party/skia/modules/skottie/src/effects/
H A DTritoneEffect.cpp51 .bind(kBlendAmount_Index, fWeight );
60 fCF->setWeight((100 - fWeight) / 100);
71 ScalarValue fWeight = 0; member in skottie::internal::__anon18569::final
/third_party/skia/src/utils/win/
H A DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 DWRITE_FONT_WEIGHT fWeight; member
/third_party/skia/modules/sksg/include/
H A DSkSGColorFilter.h104 SG_ATTRIBUTE(Weight, float, fWeight)
114 float fWeight = 0; member in sksg::final
/third_party/skia/src/ports/
H A DSkFontMgr_android_parser.h71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
75 int fWeight; member
H A DSkFontMgr_config_parser.h80 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
84 int fWeight; member
H A DSkFontMgr_win_dw.cpp298 dwStyle.fWeight, dwStyle.fWidth, dwStyle.fSlant, &searchFont)); in FirstMatchingFontWithoutSimulations()
305 (dwStyle.fWeight == DWRITE_FONT_WEIGHT_REGULAR && in FirstMatchingFontWithoutSimulations()
316 dwStyle.fWeight = DWRITE_FONT_WEIGHT_REGULAR; in FirstMatchingFontWithoutSimulations()
886 dwStyle.fWeight, in fallback()
906 dwStyle.fWeight = DWRITE_FONT_WEIGHT_REGULAR; in fallback()
938 dwStyle.fWeight, in layoutFallback()
971 if (dwStyle.fWeight != DWRITE_FONT_WEIGHT_REGULAR) { in layoutFallback()
972 dwStyle.fWeight = DWRITE_FONT_WEIGHT_REGULAR; in layoutFallback()
H A DSkFontMgr_preview.h214 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Preview()
H A DSkRemotableFontMgr_win_dw.cpp156 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth,
391 dwStyle.fWeight,
H A DSkFontMgr_android.cpp208 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
/third_party/skia/modules/sksg/src/
H A DSkSGColorFilter.cpp212 if (fWeight <= 0) { in onRevalidateFilter()
220 return SkColorFilters::Lerp(fWeight, nullptr, std::move(gradientCF)); in onRevalidateFilter()
/third_party/skia/src/core/
H A DSkMaskBlurFilter.cpp86 fWeight = static_cast<uint64_t>(round(1.0 / divisor * (1ull << 32))); in PlanGauss()
100 : fWeight{weight} in Scan()
202 return SkTo<uint8_t>((fWeight * sum + kHalf) >> 32);
205 uint64_t fWeight;
224 fWeight, noChangeCount,
230 uint64_t fWeight;

Completed in 19 milliseconds

12