Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsConic.cpp48 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
49 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
91 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
93 conic_eval_numerator(&fPts[0].fX, fWeight, t) / denominator, in ptAtT()
94 conic_eval_numerator(&fPts[0].fY, fWeight, t) / denominator in ptAtT()
127 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
128 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
129 az = conic_eval_denominator(fWeight, t1); in subDivide()
136 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
137 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h20 SkScalar fWeight; member
35 SkDConic result = {{{fPts[2], fPts[1], fPts[0]}}, fWeight}; in flip()
43 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.h189 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
193 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
251 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
297 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
398 return fWeight; in weight()
417 SkScalar fWeight; variable
DSkOpSegment.cpp212 bConic.set(segment->fPts, segment->fWeight); in addAlignIntersection()
253 eWeight = fWeight; in addCurveTo()
258 eWeight = edge.fWeight; in addCurveTo()
899 fWeight = weight; in init()
1585 edge->fWeight = 1; in subDivide()
1599 edge->fWeight = fWeight; in subDivide()
1617 edge->fPts[1] = SkDConic::SubDivide(fPts, fWeight, sub[0], sub[1], in subDivide()
1618 startT, endT, &edge->fWeight).asSkPoint(); in subDivide()
1651 edge->fConic.fWeight = fWeight; in subDivide()
1667 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
[all …]
DSkPathOpsCurve.h20 SkScalar fWeight; member
34 SkDEBUGCODE(fWeight = 1); in set()
42 SkDEBUGCODE(fWeight = 1); in set()
DSkDConicLineIntersection.cpp131 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
DSkPathOpsDebug.cpp465 bConic.set(segment->fPts, segment->fWeight); in debugAddAlignIntersection()
845 this->init(this->fPts, this->fWeight, this->contour(), this->verb()); in debugReset()
872 SkDebugf(" %1.9gf", fWeight); in debugShowActiveSpans()
1017 CONIC_DEBUG_DATA(fCurvePart, fCurvePart.fConic.fWeight), in debugPart()
DSkPathOpsWinding.cpp131 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()
/external/skia/src/core/
DSkFontStyle.cpp14 fUnion.fR.fWeight = kNormal_Weight; in SkFontStyle()
21 fUnion.fR.fWeight = SkTPin<int>(weight, kThin_Weight, kBlack_Weight); in SkFontStyle()
28 fUnion.fR.fWeight = (oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight in SkFontStyle()
/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()
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()
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()
DPathOpsConicLineIntersectionTest.cpp106 SkPath::Verb order1 = SkReduceOrder::Conic(pts, conic.fWeight, reduced); in DEF_TEST()
DFontMgrAndroidParserTest.cpp91 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts()
DPathOpsTestCommon.cpp274 if (SkDoubleIsNaN(conic.fWeight)) { in ValidConic()
DPathOpsDebug.cpp66 SkDebugf("}}, %1.9gf", fWeight); in dumpInner()
1151 SkDebugf(", %1.9gf}", fWeight); in dumpPtsInner()
/external/skia/include/core/
DSkFontStyle.h53 int weight() const { return fUnion.fR.fWeight; } in weight()
64 uint16_t fWeight; // 100 .. 900 member
/external/skia/src/utils/win/
DSkDWrite.h104 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
108 DWRITE_FONT_WEIGHT fWeight; member
/external/skia/src/ports/
DSkFontMgr_android_parser.h70 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
74 int fWeight; member
DSkRemotableFontMgr_win_dw.cpp190 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
425 dwStyle.fWeight, in matchNameStyleCharacter()
DSkFontMgr_android.cpp177 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
DSkFontMgr_android_parser.cpp214 if (!parse_non_negative_integer(value, &file.fWeight)) { in __anon7171d7430202()
340 if (targetFamily->fFonts[i].fWeight == weight) { in __anon7171d7430902()
DSkFontMgr_win_dw.cpp784 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
809 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
/external/skia/samplecode/
DSampleQuadStroker.cpp124 SkScalar fWeight; member in QuadStrokerView
170 fWeight = 1; in QuadStrokerView()
593 path.conicTo(fPts[5], fPts[6], fWeight); in onDrawContent()
682 draw_control(canvas, fWeightControl, fWeight, 0, 5, "weight"); in onDrawContent()
776 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()