/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/ |
H A D | esextcTextureBorderClampSamplingTexture.cpp | 1031 glw::GLuint centerY = h / 2; in checkLinear() local 1047 { centerX + w / 6, centerY }, in checkLinear() 1048 { centerX - w / 6, centerY }, in checkLinear() 1049 { centerX, centerY + h / 6 }, in checkLinear() 1050 { centerX, centerY - h / 6 }, in checkLinear() 1068 for (glw::GLuint y = centerY; y < centerY + stepY; ++y) in checkLinear() 1076 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1087 for (glw::GLuint y = centerY; y > centerY in checkLinear() [all...] |
/third_party/skia/docs/examples/ |
H A D | Matrix_setRSXform.cpp | 14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in REG_FIDDLE() 16 canvas->translate(-rect.centerX(), -rect.centerY()); in REG_FIDDLE()
|
H A D | Matrix_setRotate_2.cpp | 15 canvas->translate(rect.centerX(), rect.centerY()); in REG_FIDDLE() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in REG_FIDDLE()
|
H A D | Matrix_setSinCos_2.cpp | 15 matrix.postTranslate(rect.centerX(), rect.centerY()); in REG_FIDDLE() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in REG_FIDDLE()
|
H A D | Matrix_setRotate.cpp | 14 matrix.setRotate(25, rect.centerX(), rect.centerY()); in REG_FIDDLE()
|
H A D | Matrix_mapRectScaleTranslate.cpp | 10 matrix.setScale(2, .5f, rect.centerX(), rect.centerY()); in REG_FIDDLE()
|
H A D | Matrix_setSinCos.cpp | 14 matrix.setSinCos(.25f, .85f, rect.centerX(), rect.centerY()); in REG_FIDDLE()
|
H A D | Path_addOval_2.cpp | 25 canvas->drawText(&"0123"[start], 1, rect.centerX(), rect.centerY() + 5, textPaint); in REG_FIDDLE()
|
H A D | Path_Direction.cpp | 27 rect.centerY(), textPaint); in REG_FIDDLE()
|
/third_party/skia/tests/ |
H A 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()
|
/third_party/backends/include/sane/ |
H A D | sanei_magic.h | 91 * @param[out] centerY vertical coordinate of center of rotation 102 int dpiX, int dpiY, int * centerX, int * centerY, double * finSlope); 109 * @param centerY vertical coordinate of center of rotation 120 int centerX, int centerY, double slope, int bg_color);
|
/third_party/skia/samplecode/ |
H A D | SampleFillType.cpp | 40 canvas->translate(r.centerX(), r.centerY()); in showPath() 42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
H A D | SampleArc.cpp | 91 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p); in DrawRectWithLines()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A 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/gm/ |
H A D | addarc.cpp | 282 SkScalar centerY = outerRadius; in DEF_SIMPLE_GM() local 290 centerY + innerRadius * sk_float_sin(startAngles[i])); in DEF_SIMPLE_GM() 292 centerY + outerRadius * sk_float_sin(startAngles[i])); in DEF_SIMPLE_GM() 298 centerY + innerRadius * sk_float_sin(endAngle)); in DEF_SIMPLE_GM()
|
H A D | localmatrixshader.cpp | 187 auto g1 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, in DEF_SIMPLE_GM() 193 auto g2 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, in DEF_SIMPLE_GM() 200 auto g3 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, in DEF_SIMPLE_GM() 206 auto g4 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, in DEF_SIMPLE_GM()
|
H A D | croppedrects.cpp | 90 {kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()}, 91 {kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()});
|
H A D | filltypespersp.cpp | 59 canvas->translate(r.centerX(), r.centerY()); in showPath() 61 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
H A D | filltypes.cpp | 55 canvas->translate(r.centerX(), r.centerY()); in showPath() 57 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
H A 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()
|
H A 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::kCenter_Align); in draw_text()
|
H A 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::kCenter_Align); in draw_text()
|
H A D | shapes.cpp | 166 innerXform.setTranslate(outer.rect().centerX() + dx, outer.rect().centerY() + dy); 170 innerXform.preTranslate(-inner.rect().centerX(), -inner.rect().centerY());
|
/third_party/skia/modules/sksg/samples/ |
H A D | SampleSVGPong.cpp | 94 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), 99 fieldBounds.centerY()), 103 fieldBounds.centerY()), 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/vk-gl-cts/modules/gles3/functional/ |
H A 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)numRows; in init()
|