/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 1013 glw::GLuint centerY = m_test_configuration.get_height() / 2; in checkLinear() local 1024 for (glw::GLuint y = centerY; y < centerY + stepY; ++y) in checkLinear() 1032 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1043 for (glw::GLuint y = centerY; y > centerY - stepY; --y) in checkLinear() 1051 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1066 index = centerY + x * out_components + c; in checkLinear() 1070 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1072 << "at point (x, y) = (" << x << "," << centerY in checkLinear() 1081 for (glw::GLuint x = centerY; x > centerX - stepX; --x) in checkLinear() 1085 index = centerY + x * out_components + c; in checkLinear() [all …]
|
/third_party/skia/tests/ |
D | PathOpsAsWindingTest.cpp | 22 path.quadTo(rect.fRight, rect.fTop, rect.fRight, rect.centerY()); in build_squircle() 24 path.quadTo(rect.fLeft, rect.fBottom, rect.fLeft, rect.centerY()); in build_squircle() 28 path.addCircle(rect.centerX(), rect.centerY(), rect.width() / 2, dir); in build_squircle() 37 path.cubicTo(aX34, rect.fTop, rect.fRight, aY14, rect.fRight, rect.centerY()); in build_squircle() 39 path.cubicTo(aX14, rect.fBottom, rect.fLeft, aY34, rect.fLeft, rect.centerY()); in build_squircle()
|
D | M44Test.cpp | 237 SkV2 center = map2d(m, {src.centerX(), src.centerY()}); in DEF_TEST() 239 assertNearlyEqual(center.y, dst.centerY()); in DEF_TEST() 346 .preTranslate(-src.centerX(), -src.centerY()) in DEF_TEST() 347 .postTranslate(src.centerX(), src.centerY()), in DEF_TEST()
|
/third_party/skia/gm/ |
D | localmatrixshader.cpp | 187 auto g1 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 193 auto g2 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 200 auto g3 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 206 auto g4 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()},
|
D | addarc.cpp | 282 SkScalar centerY = outerRadius; variable 290 centerY + innerRadius * sk_float_sin(startAngles[i])); 292 centerY + outerRadius * sk_float_sin(startAngles[i])); 298 centerY + innerRadius * sk_float_sin(endAngle));
|
D | filltypes.cpp | 55 canvas->translate(r.centerX(), r.centerY()); in showPath() 57 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | croppedrects.cpp | 90 {kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()}, in onDraw() 91 {kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()}); in onDraw()
|
D | filltypespersp.cpp | 59 canvas->translate(r.centerX(), r.centerY()); in showPath() 61 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | dropshadowimagefilter.cpp | 47 canvas->drawCircle(r.centerX(), r.centerY(), r.width()/3, paint); in draw_path() 60 …SkTextUtils::DrawString(canvas, "Text", r.centerX(), r.centerY(), font, paint, SkTextUtils::kCente… in draw_text()
|
D | sharedcorners.cpp | 130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes() 135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
|
D | shapes.cpp | 166 innerXform.setTranslate(outer.rect().centerX() + dx, outer.rect().centerY() + dy); in drawShapes() 170 innerXform.preTranslate(-inner.rect().centerX(), -inner.rect().centerY()); in drawShapes()
|
D | imagefilterscropped.cpp | 47 canvas->drawCircle(r.centerX(), r.centerY(), r.width()*2/5, paint); in draw_path() 56 …SkTextUtils::DrawString(canvas, "Text", r.centerX(), r.centerY(), font, paint, SkTextUtils::kCente… in draw_text()
|
/third_party/skia/docs/examples/ |
D | Matrix_setSinCos_2.cpp | 15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setRotate_2.cpp | 15 canvas->translate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setRSXform.cpp | 14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw() 16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setSinCos.cpp | 14 matrix.setSinCos(.25f, .85f, rect.centerX(), rect.centerY()); in draw()
|
D | Matrix_setRotate.cpp | 14 matrix.setRotate(25, rect.centerX(), rect.centerY()); in draw()
|
D | Matrix_mapRectScaleTranslate.cpp | 10 matrix.setScale(2, .5f, rect.centerX(), rect.centerY()); in draw()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ProvokingVertexTest.cpp | 235 float centerY = sumY / 3.0f * 0.5f + 0.5f; in TEST_P() local 239 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P() 291 float centerY = sumY / 3.0f * 0.5f + 0.5f; in TEST_P() local 295 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
|
/third_party/skia/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 94 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw() 99 fieldBounds.centerY()), in onOnceBeforeDraw() 103 fieldBounds.centerY()), in onOnceBeforeDraw() 243 SkPoint shadowOffset = pos - SkPoint::Make(kBounds.centerX(), kBounds.centerY()); in updateDom() 289 pitcher->spd.fY = (kBounds.centerY() - pitcher->pos.fY) / t; in updatePaddleStrategy()
|
/third_party/skia/samplecode/ |
D | SampleFillType.cpp | 40 canvas->translate(r.centerX(), r.centerY()); in showPath() 42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | SampleArc.cpp | 91 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p); in DrawRectWithLines()
|
/third_party/typescript/tests/cases/fourslash/etslib/ |
D | common.d.ts | 77 …scale(value: { x?: number, y?: number, z?: number, centerX?: number | string, centerY?: number | s… 83 …rotate(value: { x?: number, y?: number, z?: number, centerX?: number | string, centerY?: number | …
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 319 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init() local 329 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init() 386 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init() local 394 m_positions.push_back(centerY); in init() 401 …float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRo… in init()
|
/third_party/node/deps/v8/tools/system-analyzer/view/timeline/ |
D | timeline-track-map.mjs | 119 const centerY = sameChunk ? yTo : ((yFrom / 2 + midY + yTo / 2) / 2) | 0; constant 120 const centerYTo = centerY - labelOffset; 121 buffer += `<line x1=${centerX} x2=${centerX + offsetX} y1=${centerY} y2=${
|