Home
last modified time | relevance | path

Searched refs:centerY (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampSamplingTexture.cpp1031 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 DMatrix_setRSXform.cpp14 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 DMatrix_setRotate_2.cpp15 canvas->translate(rect.centerX(), rect.centerY()); in REG_FIDDLE()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in REG_FIDDLE()
H A DMatrix_setSinCos_2.cpp15 matrix.postTranslate(rect.centerX(), rect.centerY()); in REG_FIDDLE()
17 canvas->translate(-rect.centerX(), -rect.centerY()); in REG_FIDDLE()
H A DMatrix_setRotate.cpp14 matrix.setRotate(25, rect.centerX(), rect.centerY()); in REG_FIDDLE()
H A DMatrix_mapRectScaleTranslate.cpp10 matrix.setScale(2, .5f, rect.centerX(), rect.centerY()); in REG_FIDDLE()
H A DMatrix_setSinCos.cpp14 matrix.setSinCos(.25f, .85f, rect.centerX(), rect.centerY()); in REG_FIDDLE()
H A DPath_addOval_2.cpp25 canvas->drawText(&"0123"[start], 1, rect.centerX(), rect.centerY() + 5, textPaint); in REG_FIDDLE()
H A DPath_Direction.cpp27 rect.centerY(), textPaint); in REG_FIDDLE()
/third_party/skia/tests/
H A 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/backends/include/sane/
H A Dsanei_magic.h91 * @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 DSampleFillType.cpp40 canvas->translate(r.centerX(), r.centerY()); in showPath()
42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
H A DSampleArc.cpp91 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 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/gm/
H A Daddarc.cpp282 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 Dlocalmatrixshader.cpp187 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 Dcroppedrects.cpp90 {kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()},
91 {kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()});
H A Dfilltypespersp.cpp59 canvas->translate(r.centerX(), r.centerY()); in showPath()
61 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
H A Dfilltypes.cpp55 canvas->translate(r.centerX(), r.centerY()); in showPath()
57 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
H A Dsharedcorners.cpp130 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 Ddropshadowimagefilter.cpp47 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 Dimagefilterscropped.cpp47 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 Dshapes.cpp166 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 DSampleSVGPong.cpp94 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 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)numRows; in init()

Completed in 12 milliseconds

1234