Home
last modified time | relevance | path

Searched refs:fX1 (Results 1 – 9 of 9) sorted by relevance

/external/skia/gm/
Dcircularclips.cpp21 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM
26 fX1 = 80; in onOnceBeforeDraw()
31 fCircle1 = SkPath::Circle(fX1, fY, fR, SkPathDirection::kCW); in onOnceBeforeDraw()
52 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); in onDraw()
60 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/3)); in onDraw()
89 canvas->translate(fX1 + fX2, 0); in onDraw()
/external/skqp/gm/
Dcircularclips.cpp13 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM
18 fX1 = 80; in onOnceBeforeDraw()
23 fCircle1.addCircle(fX1, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw()
48 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); in onDraw()
56 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/3)); in onDraw()
85 canvas->translate(fX1 + fX2, 0); in onDraw()
/external/skqp/experimental/svg/model/
DSkSVGLinearGradient.cpp16 fX1 = x1; in setX1()
63 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
DSkSVGLine.cpp16 fX1 = x1; in setX1()
60 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
DSkSVGLine.h40 SkSVGLength fX1 = SkSVGLength(0); variable
DSkSVGLinearGradient.h35 SkSVGLength fX1 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage); variable
/external/skia/tests/
DGrBlockAllocatorTest.cpp545 int fX1; member
549 int fX1; member
568 meta->fX1 = 2; in DEF_TEST()
583 metaBig->fX1 = 3; in DEF_TEST()
587 REPORTER_ASSERT(r, meta->fX1 == 2 && meta->fX2 == 5); in DEF_TEST()
588 REPORTER_ASSERT(r, metaBig->fX1 == 3 && metaBig->fX2 == 6); in DEF_TEST()
/external/skia/modules/svg/src/
DSkSVGLinearGradient.cpp32 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
DSkSVGLine.cpp25 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()