Home
last modified time | relevance | path

Searched refs:centerY (Results 1 – 25 of 161) sorted by relevance

1234567

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp1013 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/flutter/skia/docs/examples/
DMatrix_setRotate_2.cpp15 canvas->translate(rect.centerX(), rect.centerY()); in draw()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
DMatrix_setRSXform.cpp14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw()
16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
DMatrix_setSinCos_2.cpp15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
/third_party/skia/docs/examples/
DMatrix_setRotate_2.cpp15 canvas->translate(rect.centerX(), rect.centerY()); in draw()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
DMatrix_setRSXform.cpp14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw()
16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
DMatrix_setSinCos_2.cpp15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
/third_party/skia/tests/
DPathOpsAsWindingTest.cpp22 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()
/third_party/flutter/skia/tests/
DPathOpsAsWindingTest.cpp22 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()
/third_party/skia/gm/
Dlocalmatrixshader.cpp187 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()},
Daddarc.cpp282 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));
Dfilltypes.cpp55 canvas->translate(r.centerX(), r.centerY()); in showPath()
57 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
Dcroppedrects.cpp90 {kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()}, in onDraw()
91 {kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()}); in onDraw()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DProvokingVertexTest.cpp230 float centerY = sumY / 3.0f * 0.5f + 0.5f; in TEST_P() local
234 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
286 float centerY = sumY / 3.0f * 0.5f + 0.5f; in TEST_P() local
290 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DProvokingVertexTest.cpp235 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/
DSampleSVGPong.cpp94 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/flutter/skia/modules/sksg/samples/
DSampleSVGPong.cpp92 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw()
97 fieldBounds.centerY()), in onOnceBeforeDraw()
101 fieldBounds.centerY()), in onOnceBeforeDraw()
244 SkPoint shadowOffset = pos - SkPoint::Make(kBounds.centerX(), kBounds.centerY()); in updateDom()
290 pitcher->spd.fY = (kBounds.centerY() - pitcher->pos.fY) / t; in updatePaddleStrategy()
/third_party/flutter/skia/gm/
Daddarc.cpp284 SkScalar centerY = outerRadius; variable
292 centerY + innerRadius * sk_float_sin(startAngles[i]));
294 centerY + outerRadius * sk_float_sin(startAngles[i]));
300 centerY + innerRadius * sk_float_sin(endAngle));
Dfilltypes.cpp54 canvas->translate(r.centerX(), r.centerY()); in showPath()
56 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
Dcroppedrects.cpp93 path.moveTo(kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()); in onDraw()
94 path.lineTo(kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()); in onDraw()
/third_party/flutter/skia/samplecode/
DSampleLitAtlas.cpp105 this->drawLightDir(canvas, fBounds.centerX(), fBounds.centerY()); in onDraw()
193 void drawLightDir(SkCanvas* canvas, SkScalar centerX, SkScalar centerY) { in drawLightDir() argument
199 centerY - kBgLen * fLightDir.fY); in drawLightDir()
201 centerY - (kBgLen-kSmLen) * fLightDir.fY); in drawLightDir()
204 canvas->drawLine(centerX, centerY, p1.fX, p1.fY, p); in drawLightDir()
347 fPosition.set(bounds.centerX(), bounds.centerY()); in initShip()
DSampleFillType.cpp40 canvas->translate(r.centerX(), r.centerY()); in showPath()
42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
/third_party/skia/samplecode/
DSampleFillType.cpp40 canvas->translate(r.centerX(), r.centerY()); in showPath()
42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
/third_party/typescript/tests/cases/fourslash/etslib/
Dcommon.d.ts77 …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/
Des3fPrimitiveRestartTests.cpp319 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()

1234567