/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_lens_correction.cpp | 39 , 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 …]
|
D | dng_lens_correction.h | 62 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
|
/third_party/skia/samplecode/ |
D | Sample3D.cpp | 18 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 …]
|
D | SampleAtlas.cpp | 79 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()
|
D | SampleLayers.cpp | 172 SkPoint fCenter; member in BackdropView 178 fCenter.set(200, 150); in BackdropView() 196 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent() 219 fCenter = click->fCurr; in onClick()
|
D | SamplePathClip.cpp | 27 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()
|
/third_party/skia/modules/skottie/src/effects/ |
D | BuldgeEffect.cpp | 79 SG_ATTRIBUTE(Center , SkPoint , fCenter) 109 builder.uniform("u_center") = fCenter; in buildEffectShader() 120 const auto lm = SkMatrix::Translate(fCenter.x(), fCenter.y()) in buildEffectShader() 155 SkPoint fCenter = {0,0}; member in skottie::internal::__anon9c53eae90111::BulgeNode 181 .bind(kBulgeCenter_Index, fCenter) in BulgeEffectAdapter() 189 n->setCenter({fCenter.x, fCenter.y}); in onSync() 194 Vec2Value fCenter; member in skottie::internal::__anon9c53eae90111::BulgeEffectAdapter
|
D | SphereEffect.cpp | 164 SG_ATTRIBUTE(Center , SkPoint , fCenter) 220 const auto lm = SkMatrix::Translate(fCenter.fX, fCenter.fY) * in buildEffectShader() 241 return SkRect::MakeLTRB(fCenter.fX - fRadius, in onRevalidate() 242 fCenter.fY - fRadius, in onRevalidate() 243 fCenter.fX + fRadius, in onRevalidate() 244 fCenter.fY + fRadius); in onRevalidate() 256 canvas->drawCircle(fCenter, fRadius, sphere_paint); in onRender() 269 SkPoint fCenter = {0,0}; member in skottie::internal::__anonb849703d0111::SphereNode
|
/third_party/flutter/skia/samplecode/ |
D | SampleAtlas.cpp | 76 SkPoint fCenter; member 86 fCenter += fVelocity; in advance() 87 if (fCenter.fX > bounds.right()) { in advance() 90 } else if (fCenter.fX < bounds.left()) { in advance() 94 if (fCenter.fY > bounds.bottom()) { in advance() 98 } else if (fCenter.fY < bounds.top()) { in advance() 123 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform() 155 fRec[i].fCenter.set(sx + cell/2, sy + 3*cell/4); in DrawAtlasDrawable()
|
D | SampleLayers.cpp | 182 SkPoint fCenter; member in BackdropView 188 fCenter.set(200, 150); in BackdropView() 206 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent() 229 fCenter = click->fCurr; in onClick()
|
D | SamplePathClip.cpp | 27 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() 60 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
|
/third_party/flutter/skia/tests/ |
D | TracingTest.cpp | 52 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()
|
D | GradientTest.cpp | 503 SkPoint fCenter; in test_sweep_fuzzer() member 523 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer() 524 config.fCenter.y(), in test_sweep_fuzzer()
|
/third_party/skia/tests/ |
D | TracingTest.cpp | 52 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()
|
D | GradientTest.cpp | 536 SkPoint fCenter; in test_sweep_fuzzer() member 556 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer() 557 config.fCenter.y(), in test_sweep_fuzzer()
|
/third_party/flutter/skia/gm/ |
D | ninepatchstretch.cpp | 67 SkIRect fCenter; member in NinePatchStretchGM 82 fImage = make_image(canvas, &fCenter); in onDraw() 87 const SkScalar fixed = SkIntToScalar(fBitmap.width() - fCenter.width()); in onDraw() 110 canvas->drawBitmapNine(fBitmap, fCenter, r, &paint); in onDraw() 111 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(360, 0), &paint); in onDraw()
|
/third_party/skia/gm/ |
D | ninepatchstretch.cpp | 59 SkIRect fCenter; member in NinePatchStretchGM 74 fImage = make_image(canvas, &fCenter); in onDraw() 78 const SkScalar fixed = SkIntToScalar(fImage->width() - fCenter.width()); in onDraw() 99 canvas->drawImageNine(fImage.get(), fCenter, r, fm); in onDraw()
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkRadialGradient.cpp | 30 , fCenter(center) in SkRadialGradient() 37 info->fPoint[0] = fCenter; in asAGradient() 57 buffer.writePoint(fCenter); in flatten()
|
D | SkSweepGradient.cpp | 17 , fCenter(center) in SkSweepGradient() 27 info->fPoint[0] = fCenter; in asAGradient() 59 buffer.writePoint(fCenter); in flatten()
|
D | SkRadialGradient.h | 32 const SkPoint fCenter;
|
D | SkSweepGradient.h | 36 const SkPoint fCenter;
|
/third_party/skia/src/shaders/gradients/ |
D | SkRadialGradient.cpp | 30 , fCenter(center) in SkRadialGradient() 37 info->fPoint[0] = fCenter; in asAGradient() 57 buffer.writePoint(fCenter); in flatten()
|
D | SkSweepGradient.cpp | 17 , fCenter(center) in SkSweepGradient() 27 info->fPoint[0] = fCenter; in asAGradient() 55 buffer.writePoint(fCenter); in flatten()
|
D | SkRadialGradient.h | 35 const SkPoint fCenter;
|
D | SkSweepGradient.h | 38 const SkPoint fCenter;
|