Home
last modified time | relevance | path

Searched refs:fPoint (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/gpu/
DGrTessellator.cpp150 : fPoint(point), fPrev(nullptr), fNext(nullptr) in Vertex()
160 SkPoint fPoint; // Vertex position member
199 verts.write(v->fPoint); in emit_vertex()
209 LOG("emit_triangle %g (%g, %g) %d\n", v0->fID, v0->fPoint.fX, v0->fPoint.fY, v0->fAlpha); in emit_triangle()
210 LOG(" %g (%g, %g) %d\n", v1->fID, v1->fPoint.fX, v1->fPoint.fY, v1->fAlpha); in emit_triangle()
211 LOG(" %g (%g, %g) %d\n", v2->fID, v2->fPoint.fX, v2->fPoint.fY, v2->fAlpha); in emit_triangle()
278 Line(Vertex* p, Vertex* q) : Line(p->fPoint, q->fPoint) {} in Line()
390 return fLine.dist(v->fPoint) < 0.0; in isRightOf()
393 return fLine.dist(v->fPoint) > 0.0; in isLeftOf()
409 double dx = static_cast<double>(other.fTop->fPoint.fX) - fTop->fPoint.fX; in intersect()
[all …]
/external/skqp/src/gpu/
DGrTessellator.cpp150 : fPoint(point), fPrev(nullptr), fNext(nullptr) in Vertex()
160 SkPoint fPoint; // Vertex position member
199 verts.write(v->fPoint); in emit_vertex()
209 LOG("emit_triangle %g (%g, %g) %d\n", v0->fID, v0->fPoint.fX, v0->fPoint.fY, v0->fAlpha); in emit_triangle()
210 LOG(" %g (%g, %g) %d\n", v1->fID, v1->fPoint.fX, v1->fPoint.fY, v1->fAlpha); in emit_triangle()
211 LOG(" %g (%g, %g) %d\n", v2->fID, v2->fPoint.fX, v2->fPoint.fY, v2->fAlpha); in emit_triangle()
278 Line(Vertex* p, Vertex* q) : Line(p->fPoint, q->fPoint) {} in Line()
390 return fLine.dist(v->fPoint) < 0.0; in isRightOf()
393 return fLine.dist(v->fPoint) > 0.0; in isLeftOf()
409 double dx = static_cast<double>(other.fTop->fPoint.fX) - fTop->fPoint.fX; in intersect()
[all …]
/external/skia/tests/
DGradientTest.cpp46 const SkPoint* fPoint; // 2 member
89 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc()
94 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in linear_gradproc()
99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
105 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in radial_gradproc()
111 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()
117 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in sweep_gradproc()
122 sk_sp<SkShader> s(SkGradientShader::MakeTwoPointConical(buildRec.fPoint[0], in conical_gradproc()
124 buildRec.fPoint[1], in conical_gradproc()
133 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in conical_gradproc()
[all …]
/external/skqp/tests/
DGradientTest.cpp46 const SkPoint* fPoint; // 2 member
89 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc()
94 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in linear_gradproc()
99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
105 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in radial_gradproc()
111 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()
117 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in sweep_gradproc()
122 sk_sp<SkShader> s(SkGradientShader::MakeTwoPointConical(buildRec.fPoint[0], in conical_gradproc()
124 buildRec.fPoint[1], in conical_gradproc()
133 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in conical_gradproc()
[all …]
/external/skia/src/pdf/
DSkPDFGradientShader.h42 && u.fPoint[0] == v.fPoint[0]
43 && u.fPoint[1] == v.fPoint[1]
DSkPDFGradientShader.cpp24 SkOpts::hash(v.fPoint, 2 * sizeof(SkPoint)), in hash()
406 SkScalar dx = info.fPoint[1].fX - info.fPoint[0].fX; in twoPointConicalCode()
407 SkScalar dy = info.fPoint[1].fY - info.fPoint[0].fY; in twoPointConicalCode()
621 SkPoint pt1 = info.fPoint[0]; in make_function_shader()
622 SkPoint pt2 = info.fPoint[1]; in make_function_shader()
632 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader()
640 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader()
641 const SkPoint& pt2 = info.fPoint[1]; in make_function_shader()
652 transformPoints[0] = info.fPoint[0]; in make_function_shader()
653 transformPoints[1] = info.fPoint[1]; in make_function_shader()
[all …]
/external/skqp/src/pdf/
DSkPDFGradientShader.h42 && u.fPoint[0] == v.fPoint[0]
43 && u.fPoint[1] == v.fPoint[1]
DSkPDFGradientShader.cpp24 SkOpts::hash(v.fPoint, 2 * sizeof(SkPoint)), in hash()
406 SkScalar dx = info.fPoint[1].fX - info.fPoint[0].fX; in twoPointConicalCode()
407 SkScalar dy = info.fPoint[1].fY - info.fPoint[0].fY; in twoPointConicalCode()
621 SkPoint pt1 = info.fPoint[0]; in make_function_shader()
622 SkPoint pt2 = info.fPoint[1]; in make_function_shader()
632 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader()
640 const SkPoint& pt1 = info.fPoint[0]; in make_function_shader()
641 const SkPoint& pt2 = info.fPoint[1]; in make_function_shader()
652 transformPoints[0] = info.fPoint[0]; in make_function_shader()
653 transformPoints[1] = info.fPoint[1]; in make_function_shader()
[all …]
/external/skqp/src/shaders/gradients/
DSkLinearGradient.cpp92 info->fPoint[0] = fStart; in asAGradient()
93 info->fPoint[1] = fEnd; in asAGradient()
DSkTwoPointConicalGradient.cpp121 info->fPoint[0] = fCenter1; in asAGradient()
122 info->fPoint[1] = fCenter2; in asAGradient()
DSkRadialGradient.cpp38 info->fPoint[0] = fCenter; in asAGradient()
DSkSweepGradient.cpp28 info->fPoint[0] = fCenter; in asAGradient()
/external/skia/src/shaders/gradients/
DSkLinearGradient.cpp101 info->fPoint[0] = fStart; in asAGradient()
102 info->fPoint[1] = fEnd; in asAGradient()
DSkTwoPointConicalGradient.cpp121 info->fPoint[0] = fCenter1; in asAGradient()
122 info->fPoint[1] = fCenter2; in asAGradient()
DSkRadialGradient.cpp38 info->fPoint[0] = fCenter; in asAGradient()
DSkSweepGradient.cpp28 info->fPoint[0] = fCenter; in asAGradient()
/external/skia/modules/particles/src/
DSkParticleAffector.cpp109 : fPoint(point), fConstant(constant), fInvSquare(invSquare) {}
115 SkVector toPoint = fPoint - ps[i].fPose.fPosition; in REFLECTED()
125 v->visit("Point", fPoint); in visitFields()
131 SkPoint fPoint; member in SkPointForceAffector
/external/skia/src/xps/
DSkXPSDevice.cpp837 startPoint = xps_point(info.fPoint[0]); in createXpsLinearGradient()
838 endPoint = xps_point(info.fPoint[1]); in createXpsLinearGradient()
841 info.fPoint[0], info.fPoint[1], in createXpsLinearGradient()
843 startPoint = xps_point(info.fPoint[0], localMatrix); in createXpsLinearGradient()
844 endPoint = xps_point(info.fPoint[1], localMatrix); in createXpsLinearGradient()
911 centerPoint = xps_point(info.fPoint[0]); in createXpsRadialGradient()
912 gradientOrigin = xps_point(info.fPoint[0]); in createXpsRadialGradient()
916 centerPoint = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
917 gradientOrigin = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
/external/skqp/src/xps/
DSkXPSDevice.cpp837 startPoint = xps_point(info.fPoint[0]); in createXpsLinearGradient()
838 endPoint = xps_point(info.fPoint[1]); in createXpsLinearGradient()
841 info.fPoint[0], info.fPoint[1], in createXpsLinearGradient()
843 startPoint = xps_point(info.fPoint[0], localMatrix); in createXpsLinearGradient()
844 endPoint = xps_point(info.fPoint[1], localMatrix); in createXpsLinearGradient()
911 centerPoint = xps_point(info.fPoint[0]); in createXpsRadialGradient()
912 gradientOrigin = xps_point(info.fPoint[0]); in createXpsRadialGradient()
916 centerPoint = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
917 gradientOrigin = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
/external/skia/include/core/
DSkShader.h142 SkPoint fPoint[2]; //!< Type specific, see above. member
/external/skqp/include/core/
DSkShader.h142 SkPoint fPoint[2]; //!< Type specific, see above. member
/external/skqp/src/svg/
DSkSVGDevice.cpp542 gradient.addAttribute("x1", info.fPoint[0].x()); in addLinearGradientDef()
543 gradient.addAttribute("y1", info.fPoint[0].y()); in addLinearGradientDef()
544 gradient.addAttribute("x2", info.fPoint[1].x()); in addLinearGradientDef()
545 gradient.addAttribute("y2", info.fPoint[1].y()); in addLinearGradientDef()
/external/skia/src/svg/
DSkSVGDevice.cpp545 gradient.addAttribute("x1", info.fPoint[0].x()); in addLinearGradientDef()
546 gradient.addAttribute("y1", info.fPoint[0].y()); in addLinearGradientDef()
547 gradient.addAttribute("x2", info.fPoint[1].x()); in addLinearGradientDef()
548 gradient.addAttribute("y2", info.fPoint[1].y()); in addLinearGradientDef()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp513 return SkRect::MakeLTRB(0, 0, fOpts.width, fPoint.y()); in getBounds()
522 SkPoint fPoint; member in ShapedText
527 fBlob = do_shaping(fOpts, &fPoint); in init()