/third_party/skia/src/pathops/ |
H A D | SkPathOpsConic.cpp | 52 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 D | SkPathOpsConic.h | 19 SkScalar fWeight; member 31 fWeight = 0; in debugInit() 38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip() 51 fWeight = weight; in set()
|
H A D | SkOpSegment.h | 199 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 D | SkPathOpsRect.cpp | 36 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 D | SkPathOpsCurve.h | 20 SkScalar fWeight; member 34 SkDEBUGCODE(fWeight = 1); in set() 42 SkDEBUGCODE(fWeight = 1); in set()
|
H A D | SkDConicLineIntersection.cpp | 137 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
|
H A D | SkOpSegment.cpp | 185 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 D | SampleMixer.cpp | 31 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 D | SampleQuadStroker.cpp | 136 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 D | PathOpsConicIntersectionTest.cpp | 48 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 D | PathOpsConicLineIntersectionTest.cpp | 78 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 D | PathOpsTestCommon.h | 22 SkScalar fWeight; member
|
H A D | PathOpsConicQuadIntersectionTest.cpp | 37 conic.debugSet(c.fPts.fPts, c.fWeight); in conicQuadIntersection()
|
H A D | PathOpsCubicConicIntersectionTest.cpp | 52 conic.debugSet(co.fPts.fPts, co.fWeight); in cubicConicIntersection()
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | TritoneEffect.cpp | 51 .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 D | SkDWrite.h | 85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle() 94 DWRITE_FONT_WEIGHT fWeight; member
|
/third_party/skia/modules/sksg/include/ |
H A D | SkSGColorFilter.h | 104 SG_ATTRIBUTE(Weight, float, fWeight) 114 float fWeight = 0; member in sksg::final
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_android_parser.h | 71 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo() 75 int fWeight; member
|
H A D | SkFontMgr_config_parser.h | 80 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo() 84 int fWeight; member
|
H A D | SkFontMgr_win_dw.cpp | 298 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 D | SkFontMgr_preview.h | 214 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Preview()
|
H A D | SkRemotableFontMgr_win_dw.cpp | 156 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, 391 dwStyle.fWeight,
|
H A D | SkFontMgr_android.cpp | 208 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGColorFilter.cpp | 212 if (fWeight <= 0) { in onRevalidateFilter() 220 return SkColorFilters::Lerp(fWeight, nullptr, std::move(gradientCF)); in onRevalidateFilter()
|
/third_party/skia/src/core/ |
H A D | SkMaskBlurFilter.cpp | 86 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;
|