Home
last modified time | relevance | path

Searched refs:fCenter (Results 1 – 25 of 39) sorted by relevance

12

/external/dng_sdk/source/
Ddng_lens_correction.cpp39 , fCenter (0.5, 0.5) in dng_warp_params()
51 , fCenter (center) in dng_warp_params()
58 DNG_ASSERT (fCenter.h >= 0.0 && fCenter.h <= 1.0, in dng_warp_params()
61 DNG_ASSERT (fCenter.v >= 0.0 && fCenter.v <= 1.0, in dng_warp_params()
161 if (fCenter.h < 0.0 || in IsValid()
162 fCenter.h > 1.0 || in IsValid()
163 fCenter.v < 0.0 || in IsValid()
164 fCenter.v > 1.0) in IsValid()
289 fCenter.h, in Dump()
290 fCenter.v); in Dump()
[all …]
Ddng_lens_correction.h62 dng_point_real64 fCenter; variable
80 const dng_point_real64 &fCenter);
310 const dng_point_real64 &fCenter);
416 const dng_point_real64 &fCenter);
552 dng_point_real64 fCenter; variable
/external/skia/samplecode/
DSample3D.cpp18 SkV2 fCenter; member
21 VSphere(SkV2 center, SkScalar radius) : fCenter(center), fRadius(radius) {} in VSphere()
24 return (v - fCenter).length() <= fRadius; in contains()
28 auto v = p - fCenter; in pinLoc()
32 return fCenter + v; in pinLoc()
36 v = (v - fCenter) * (1 / fRadius); in computeUnitV3()
307 canvas->drawCircle(fSphere.fCenter.x, fSphere.fCenter.y, fSphere.fRadius, paint); in onDrawContent()
308 canvas->drawLine(fSphere.fCenter.x, fSphere.fCenter.y - fSphere.fRadius, in onDrawContent()
309 fSphere.fCenter.x, fSphere.fCenter.y + fSphere.fRadius, paint); in onDrawContent()
310 canvas->drawLine(fSphere.fCenter.x - fSphere.fRadius, fSphere.fCenter.y, in onDrawContent()
[all …]
DSampleAtlas.cpp79 SkPoint fCenter; member
89 fCenter += fVelocity; in advance()
90 if (fCenter.fX > bounds.right()) { in advance()
93 } else if (fCenter.fX < bounds.left()) { in advance()
97 if (fCenter.fY > bounds.bottom()) { in advance()
101 } else if (fCenter.fY < bounds.top()) { in advance()
126 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
158 fRec[i].fCenter.set(sx + cell/2, sy + 3*cell/4); in DrawAtlasDrawable()
DSampleLayers.cpp176 SkPoint fCenter; member in BackdropView
182 fCenter.set(200, 150); in BackdropView()
200 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
223 fCenter = click->fCurr; in onClick()
DSamplePathClip.cpp27 SkPoint fCenter; member in PathClipView
29 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
35 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
36 fCenter.fY - fOval.centerY()); in onDrawContent()
57 fCenter = c->fCurr; in onFindClickHandler()
/external/skia/tests/
DTracingTest.cpp52 TracingCircle(SkPoint center, SkScalar radius) : fCenter(center), fRadius(radius) {} in TracingCircle()
55 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); in toString()
58 SkPoint fCenter; member
167 circle->fCenter.offset(10, 10); in test_trace_objects()
/external/skqp/samplecode/
DSampleAtlas.cpp77 SkPoint fCenter; member
87 fCenter += fVelocity; in advance()
88 if (fCenter.fX > bounds.right()) { in advance()
91 } else if (fCenter.fX < bounds.left()) { in advance()
95 if (fCenter.fY > bounds.bottom()) { in advance()
99 } else if (fCenter.fY < bounds.top()) { in advance()
124 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
156 fRec[i].fCenter.set(sx + cell/2, sy + 3*cell/4); in DrawAtlasDrawable()
DSampleLayers.cpp191 SkPoint fCenter; member in BackdropView
197 fCenter.set(200, 150); in BackdropView()
221 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
244 fCenter = click->fCurr; in onClick()
DSamplePathClip.cpp27 SkPoint fCenter; member in PathClipView
29 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
42 fCenter.fY - fOval.centerY()); in onDrawContent()
66 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
/external/skqp/tests/
DTracingTest.cpp51 TracingCircle(SkPoint center, SkScalar radius) : fCenter(center), fRadius(radius) {} in TracingCircle()
54 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); in toString()
57 SkPoint fCenter; member
170 circle->fCenter.offset(10, 10); in test_trace_objects()
/external/skqp/src/shaders/gradients/
DSkSweepGradient.cpp18 , fCenter(center) in SkSweepGradient()
28 info->fPoint[0] = fCenter; in asAGradient()
60 buffer.writePoint(fCenter); in flatten()
71 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.fColors.get(), in onMakeColorSpace()
DSkRadialGradient.cpp31 , fCenter(center) in SkRadialGradient()
38 info->fPoint[0] = fCenter; in asAGradient()
58 buffer.writePoint(fCenter); in flatten()
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
DSkRadialGradient.h33 const SkPoint fCenter;
DSkSweepGradient.h37 const SkPoint fCenter;
/external/skqp/gm/
Dninepatchstretch.cpp56 SkIRect fCenter; member in NinePatchStretchGM
71 fImage = make_image(canvas, &fCenter); in onDraw()
76 const SkScalar fixed = SkIntToScalar(fBitmap.width() - fCenter.width()); in onDraw()
99 canvas->drawBitmapNine(fBitmap, fCenter, r, &paint); in onDraw()
100 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(360, 0), &paint); in onDraw()
/external/skia/modules/skottie/src/effects/
DSphereEffect.cpp162 SG_ATTRIBUTE(Center , SkPoint , fCenter)
218 const auto lm = SkMatrix::Translate(fCenter.fX, fCenter.fY) * in buildEffectShader()
239 return SkRect::MakeLTRB(fCenter.fX - fRadius, in onRevalidate()
240 fCenter.fY - fRadius, in onRevalidate()
241 fCenter.fX + fRadius, in onRevalidate()
242 fCenter.fY + fRadius); in onRevalidate()
254 canvas->drawCircle(fCenter, fRadius, sphere_paint); in onRender()
267 SkPoint fCenter = {0,0}; member in skottie::internal::__anonccc005ed0111::SphereNode
/external/skqp/src/gpu/effects/
DGrCircleEffect.h19 const SkPoint& center() const { return fCenter; } in center()
40 , fCenter(center) in GrCircleEffect()
47 SkPoint fCenter; variable
DGrEllipseEffect.h21 const SkPoint& center() const { return fCenter; } in center()
41 , fCenter(center) in GrEllipseEffect()
48 SkPoint fCenter; variable
DGrCircleEffect.cpp96 if (fCenter != that.fCenter) return false; in onIsEqual()
103 , fCenter(src.fCenter) in GrCircleEffect()
DGrEllipseEffect.cpp118 if (fCenter != that.fCenter) return false; in onIsEqual()
125 , fCenter(src.fCenter) in GrEllipseEffect()
/external/skia/gm/
Dninepatchstretch.cpp60 SkIRect fCenter; member in NinePatchStretchGM
75 fImage = make_image(canvas, &fCenter); in onDraw()
79 const SkScalar fixed = SkIntToScalar(fImage->width() - fCenter.width()); in onDraw()
100 canvas->drawImageNine(fImage.get(), fCenter, r, fm); in onDraw()
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp30 , fCenter(center) in SkRadialGradient()
37 info->fPoint[0] = fCenter; in asAGradient()
57 buffer.writePoint(fCenter); in flatten()
DSkSweepGradient.cpp17 , fCenter(center) in SkSweepGradient()
27 info->fPoint[0] = fCenter; in asAGradient()
55 buffer.writePoint(fCenter); in flatten()
DSkRadialGradient.h35 const SkPoint fCenter;

12