/external/skia/src/gpu/ |
D | GrTessellator.cpp | 150 : 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/ |
D | GrTessellator.cpp | 150 : 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/ |
D | GradientTest.cpp | 46 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/ |
D | GradientTest.cpp | 46 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/ |
D | SkPDFGradientShader.h | 42 && u.fPoint[0] == v.fPoint[0] 43 && u.fPoint[1] == v.fPoint[1]
|
D | SkPDFGradientShader.cpp | 24 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/ |
D | SkPDFGradientShader.h | 42 && u.fPoint[0] == v.fPoint[0] 43 && u.fPoint[1] == v.fPoint[1]
|
D | SkPDFGradientShader.cpp | 24 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/ |
D | SkLinearGradient.cpp | 92 info->fPoint[0] = fStart; in asAGradient() 93 info->fPoint[1] = fEnd; in asAGradient()
|
D | SkTwoPointConicalGradient.cpp | 121 info->fPoint[0] = fCenter1; in asAGradient() 122 info->fPoint[1] = fCenter2; in asAGradient()
|
D | SkRadialGradient.cpp | 38 info->fPoint[0] = fCenter; in asAGradient()
|
D | SkSweepGradient.cpp | 28 info->fPoint[0] = fCenter; in asAGradient()
|
/external/skia/src/shaders/gradients/ |
D | SkLinearGradient.cpp | 101 info->fPoint[0] = fStart; in asAGradient() 102 info->fPoint[1] = fEnd; in asAGradient()
|
D | SkTwoPointConicalGradient.cpp | 121 info->fPoint[0] = fCenter1; in asAGradient() 122 info->fPoint[1] = fCenter2; in asAGradient()
|
D | SkRadialGradient.cpp | 38 info->fPoint[0] = fCenter; in asAGradient()
|
D | SkSweepGradient.cpp | 28 info->fPoint[0] = fCenter; in asAGradient()
|
/external/skia/modules/particles/src/ |
D | SkParticleAffector.cpp | 109 : 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/ |
D | SkXPSDevice.cpp | 837 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/ |
D | SkXPSDevice.cpp | 837 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/ |
D | SkShader.h | 142 SkPoint fPoint[2]; //!< Type specific, see above. member
|
/external/skqp/include/core/ |
D | SkShader.h | 142 SkPoint fPoint[2]; //!< Type specific, see above. member
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 542 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/ |
D | SkSVGDevice.cpp | 545 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/ |
D | canvaskit_bindings.cpp | 513 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()
|