Home
last modified time | relevance | path

Searched refs:fPhase (Results 1 – 17 of 17) sorted by relevance

/external/skia/samplecode/
DSamplePathEffects.cpp94 SkScalar fPhase; member in PathEffectView
97 PathEffectView() : fPhase(0) { in PathEffectView()
146 paint.setPathEffect(make_pe(2, fPhase))->unref(); in onDrawContent()
152 paint.setPathEffect(make_pe(3, fPhase))->unref(); in onDrawContent()
158 paint.setPathEffect(make_warp_pe(fPhase))->unref(); in onDrawContent()
165 fPhase = timer.scaled(40); in onAnimate()
/external/skia/src/effects/
DSkDashPathEffect.cpp16 : fPhase(0) in SkDashPathEffect()
32 &fInitialDashLength, &fInitialDashIndex, &fIntervalLength, &fPhase); in SkDashPathEffect()
354 info->fPhase = fPhase; in asADash()
360 buffer.writeScalar(fPhase); in flatten()
377 str->appendf("count: %d phase %.2f intervals: (", fCount, fPhase); in toString()
/external/skia/tests/
DAsADashTest.cpp43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp258 SkScalar fPhase; member
321 fPhase = geo.fPhase; in DashDraw()
325 SkScalar fPhase; member
412 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { in onPrepareDraws()
416 startPts[1].fX = SkMinScalar(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, in onPrepareDraws()
422 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase; in onPrepareDraws()
428 startAdj += calc_start_adjustment(draw.fIntervals, draw.fPhase); in onPrepareDraws()
431 draw.fPhase = 0; in onPrepareDraws()
434 SkScalar endAdj = calc_end_adjustment(draw.fIntervals, draw.fPtsRot, draw.fPhase, in onPrepareDraws()
468 draw.fPhase = 0; in onPrepareDraws()
[all …]
/external/skia/include/core/
DSkPathEffect.h120 DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {} in DashInfo()
125 SkScalar fPhase; //!< Offset into the dashed interval pattern member
/external/skia/src/pathops/
DSkPathOpsTypes.h115 return fPhase; in phase()
127 SkASSERT(fPhase != phase); in setPhase()
128 fPhase = phase; in setPhase()
146 Phase fPhase; variable
DSkPathOpsTypes.cpp222 , fPhase(kIntersecting) in SkOpGlobalState()
/external/skia/src/gpu/
DGrStrokeInfo.h99 fDashPhase = dashInfo.fPhase; in setDashInfo()
112 fDashPhase = info.fPhase; in setDashInfo()
DGrStrokeInfo.cpp27 info.fPhase = fDashPhase; in applyDashToPath()
DGrTestUtils.cpp254 dashInfo.fPhase = random->nextRangeScalar(0, sum); in TestStrokeInfo()
/external/skia/include/effects/
DSkDashPathEffect.h65 SkScalar fPhase; variable
/external/pdfium/xfa/src/fdp/include/
Dfde_pen.h50 virtual void SetDashPhase(FX_FLOAT fPhase) = 0;
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_object.h47 virtual void SetDashPhase(FX_FLOAT fPhase) { m_fDashPhase = fPhase; } in SetDashPhase() argument
/external/skia/src/utils/
DSkDashPath.cpp326 CalcDashParameters(info.fPhase, info.fIntervals, info.fCount, in FilterDashPath()
DSkLua.cpp305 setfield_scalar(fL, "phase", info.fPhase); in pushDash()
/external/skia/tools/json/
DSkJSONCanvas.cpp378 dashing[SKJSONCANVAS_ATTRIBUTE_PHASE] = dashInfo.fPhase; in apply_paint_patheffect()
/external/skia/tools/debugger/
DSkDrawCommand.cpp990 dashing[SKDEBUGCANVAS_ATTRIBUTE_PHASE] = dashInfo.fPhase; in apply_paint_patheffect()