Home
last modified time | relevance | path

Searched refs:fWeight (Results 1 – 22 of 22) 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()
77 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
79 conic_eval_numerator(&fPts[0].fX, fWeight, t) / denominator, in ptAtT()
80 conic_eval_numerator(&fPts[0].fY, fWeight, t) / denominator in ptAtT()
87 double ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
88 double ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
89 double az = conic_eval_denominator(fWeight, t1); in subDivide()
91 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
92 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()
DSkOpSegment.h164 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
168 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
225 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
270 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
372 return fWeight; in weight()
390 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()
DSkOpSegment.cpp169 eWeight = fWeight; in addCurveTo()
174 eWeight = edge.fWeight; in addCurveTo()
821 fWeight = weight; in init()
1512 edge->fWeight = 1; in subDivide()
1526 edge->fWeight = fWeight; in subDivide()
1544 edge->fPts[1] = SkDConic::SubDivide(fPts, fWeight, sub[0], sub[1], in subDivide()
1545 startT, endT, &edge->fWeight).asSkPoint(); in subDivide()
1578 edge->fConic.fWeight = fWeight; in subDivide()
1594 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
1595 startT, endT, &edge->fConic.fWeight); in subDivide()
DSkPathOpsCurve.h20 SkScalar fWeight; member
34 SkDEBUGCODE(fWeight = 1); in set()
42 SkDEBUGCODE(fWeight = 1); in set()
DSkPathOpsDebug.cpp171 this->init(this->fPts, this->fWeight, this->contour(), this->verb()); in debugReset()
198 SkDebugf(" %1.9gf", fWeight); in debugShowActiveSpans()
298 CONIC_DEBUG_DATA(fCurvePart, fCurvePart.fConic.fWeight), in debugPart()
DSkDConicLineIntersection.cpp131 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
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 = SkPin32(weight, kThin_Weight, kBlack_Weight); in SkFontStyle()
28 fUnion.fR.fWeight = (oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight in SkFontStyle()
/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/ports/
DSkFontConfigParser_android.h65 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
69 int fWeight; member
DSkRemotableFontMgr_win_dw.cpp191 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
426 dwStyle.fWeight, in matchNameStyleCharacter()
DSkFontMgr_android.cpp146 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
DSkFontConfigParser_android.cpp190 if (!parse_non_negative_integer(value, &file.fWeight)) { in __anona6e2ef2f0102()
310 if (targetFamily->fFonts[i].fWeight == weight) { in __anona6e2ef2f0702()
DSkFontMgr_win_dw.cpp781 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
806 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
/external/skia/src/utils/win/
DSkDWrite.h104 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
108 DWRITE_FONT_WEIGHT fWeight; member
/external/skia/samplecode/
DSampleQuadStroker.cpp118 SkScalar fWeight; member in QuadStrokerView
158 fWeight = 1; in QuadStrokerView()
461 path.conicTo(fPts[5], fPts[6], fWeight); in onDrawContent()
530 draw_control(canvas, fWeightControl, fWeight, 0, 5, "weight"); in onDrawContent()
613 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()
/external/skia/tests/
DFontConfigParser.cpp88 SkDebugf(" file (%d) %s#%d\n", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts()
DPathOpsConicLineIntersectionTest.cpp106 SkPath::Verb order1 = SkReduceOrder::Conic(pts, conic.fWeight, reduced); in DEF_TEST()
DPathOpsTestCommon.cpp274 if (SkDoubleIsNaN(conic.fWeight)) { in ValidConic()
DPathOpsDebug.cpp69 SkDebugf("}, %1.9g", fWeight); in dumpInner()
1080 SkDebugf(", %1.9gf}", fWeight); in dumpPtsInner()