/external/skia/src/pathops/ |
D | SkPathOpsConic.cpp | 48 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 …]
|
D | SkPathOpsConic.h | 20 SkScalar fWeight; member 35 SkDConic result = {{{fPts[2], fPts[1], fPts[0]}}, fWeight}; in flip() 43 fWeight = weight; in set()
|
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()
|
D | SkOpSegment.h | 189 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
|
D | SkOpSegment.cpp | 212 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 …]
|
D | SkPathOpsCurve.h | 20 SkScalar fWeight; member 34 SkDEBUGCODE(fWeight = 1); in set() 42 SkDEBUGCODE(fWeight = 1); in set()
|
D | SkDConicLineIntersection.cpp | 131 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
|
D | SkPathOpsDebug.cpp | 465 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()
|
D | SkPathOpsWinding.cpp | 131 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()
|
/external/skia/src/core/ |
D | SkFontStyle.cpp | 14 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/ |
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() 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()
|
D | PathOpsConicLineIntersectionTest.cpp | 106 SkPath::Verb order1 = SkReduceOrder::Conic(pts, conic.fWeight, reduced); in DEF_TEST()
|
D | FontMgrAndroidParserTest.cpp | 91 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts()
|
D | PathOpsTestCommon.cpp | 274 if (SkDoubleIsNaN(conic.fWeight)) { in ValidConic()
|
D | PathOpsDebug.cpp | 66 SkDebugf("}}, %1.9gf", fWeight); in dumpInner() 1151 SkDebugf(", %1.9gf}", fWeight); in dumpPtsInner()
|
/external/skia/include/core/ |
D | SkFontStyle.h | 53 int weight() const { return fUnion.fR.fWeight; } in weight() 64 uint16_t fWeight; // 100 .. 900 member
|
/external/skia/src/utils/win/ |
D | SkDWrite.h | 104 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle() 108 DWRITE_FONT_WEIGHT fWeight; member
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.h | 70 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo() 74 int fWeight; member
|
D | SkRemotableFontMgr_win_dw.cpp | 190 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle() 425 dwStyle.fWeight, in matchNameStyleCharacter()
|
D | SkFontMgr_android.cpp | 177 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
|
D | SkFontMgr_android_parser.cpp | 214 if (!parse_non_negative_integer(value, &file.fWeight)) { in __anon7171d7430202() 340 if (targetFamily->fFonts[i].fWeight == weight) { in __anon7171d7430902()
|
D | SkFontMgr_win_dw.cpp | 784 dwStyle.fWeight, in onMatchFamilyStyleCharacter() 809 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
|
/external/skia/samplecode/ |
D | SampleQuadStroker.cpp | 124 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()
|