Home
last modified time | relevance | path

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

12

/external/skia/src/pathops/
DSkPathOpsConic.cpp51 conic_eval_tan(&fPts[0].fX, fWeight, t), in dxdyAtT()
52 conic_eval_tan(&fPts[0].fY, fWeight, t) in dxdyAtT()
94 double denominator = conic_eval_denominator(fWeight, t); in ptAtT()
96 conic_eval_numerator(&fPts[0].fX, fWeight, t) / denominator, in ptAtT()
97 conic_eval_numerator(&fPts[0].fY, fWeight, t) / denominator in ptAtT()
130 ax = conic_eval_numerator(&fPts[0].fX, fWeight, t1); in subDivide()
131 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
132 az = conic_eval_denominator(fWeight, t1); in subDivide()
139 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
140 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
[all …]
DSkPathOpsConic.h20 SkScalar fWeight; member
38 SkDEBUGPARAMS(fPts.fDebugGlobalState) }, fWeight}; in flip()
51 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.h203 return (*CurveDPointAtT[fVerb])(fPts, fWeight, mid); in dPtAtT()
207 return (*CurveDSlopeAtT[fVerb])(fPts, fWeight, mid); in dSlopeAtT()
267 return (*CurveIsVertical[fVerb])(fPts, fWeight, start->t(), end->t()); in isVertical()
317 return (*CurvePointAtT[fVerb])(fPts, fWeight, mid); in ptAtT()
426 return fWeight; in weight()
440 SkScalar fWeight; variable
DSkPathOpsCurve.h20 SkScalar fWeight; member
34 SkDEBUGCODE(fWeight = 1); in set()
42 SkDEBUGCODE(fWeight = 1); in set()
DSkDConicLineIntersection.cpp137 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
DSkOpSegment.cpp179 curvePart.fCurve.fConic.fWeight); in addCurveTo()
798 fWeight = weight; in init()
1575 edge->fConic.fWeight = fWeight; in subDivide()
1591 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
1592 startT, endT, &edge->fConic.fWeight); in subDivide()
/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()
251 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
280 {dC.fPts[2].fX * scale, dC.fPts[2].fY * scale }}}, dC.fWeight }; in writeFrames()
283 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeFrames()
304 c1.debugSet(conic1.fPts.fPts, conic1.fWeight); in oneOff()
[all …]
DPathOpsConicLineIntersectionTest.cpp74 conic.debugSet(c.fPts.fPts, c.fWeight); in testOneOffs()
103 conic.debugSet(c.fPts.fPts, c.fWeight); in DEF_TEST()
112 floatConic.set(pts, conic.fWeight); in DEF_TEST()
DPathOpsTestCommon.h22 SkScalar fWeight; member
DPathOpsConicQuadIntersectionTest.cpp30 conic.debugSet(c.fPts.fPts, c.fWeight); in conicQuadIntersection()
DPathOpsCubicConicIntersectionTest.cpp38 conic.debugSet(co.fPts.fPts, co.fWeight); in cubicConicIntersection()
DFontMgrAndroidParserTest.cpp92 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts()
DPathOpsTestCommon.cpp274 if (SkDoubleIsNaN(conic.fWeight)) { in ValidConic()
/external/skia/src/core/
DSkFontStyle.cpp14 fUnion.fR.fWeight = kNormal_Weight; in SkFontStyle()
21 fUnion.fR.fWeight = SkTPin<int>(weight, kInvisible_Weight, kExtraBlack_Weight); in SkFontStyle()
/external/skia/include/core/
DSkFontStyle.h56 int weight() const { return fUnion.fR.fWeight; } in weight()
63 uint16_t fWeight; // 100 .. 900 member
/external/skia/src/utils/win/
DSkDWrite.h85 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); in DWriteStyle()
94 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.cpp153 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
388 dwStyle.fWeight, in matchNameStyleCharacter()
DSkFontMgr_win_dw.cpp786 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
808 dwStyle.fWeight, in onMatchFamilyStyleCharacter()
972 HRNM(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, dwStyle.fSlant, &font), in onLegacyCreateTypeface()
1017 HRNM(fFontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, dwStyle.fSlant, &font), in matchStyle()
DSkFontMgr_android.cpp180 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
DSkFontMgr_android_parser.cpp216 if (!parse_non_negative_integer(value, &file.fWeight)) { in __anonbbaf037e0202()
342 if (targetFamily->fFonts[i].fWeight == weight) { in __anonbbaf037e0902()
/external/skia/samplecode/
DSampleQuadStroker.cpp124 SkScalar fWeight; member in QuadStrokerView
170 fWeight = 1; in QuadStrokerView()
592 path.conicTo(fPts[5], fPts[6], fWeight); in onDrawContent()
681 draw_control(canvas, fWeightControl, fWeight, 0, 5, "weight"); in onDrawContent()
775 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()
DSampleAAGeometry.cpp681 SkScalar fWeight; member in MyClick
688 , fWeight(1) { in MyClick()
696 , fWeight(1) { in MyClick()
704 , fWeight(weight) { in MyClick()
1690 fWeightControl.fValLo = myClick->fWeight; in onClick()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.cpp46 float fWeight; member
466 pvData[nCurr].fWeight = 1; in PVRTShadowVolMeshInitMesh()
467 pvData[nCurr + psMesh->nV].fWeight = 1; in PVRTShadowVolMeshInitMesh()
1336 …->glWeightPointerOES(1, GL_FLOAT, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].fWeight); in PVRTShadowVolSilhouetteProjectedRender()

12