/third_party/skia/gm/ |
H A D | smallpaths.cpp | 84 static SkScalar yOffset = 50.f; in make_three_line() local 86 b.moveTo(-32.5f + xOffset, 0.0f + yOffset); in make_three_line() 87 b.lineTo(32.5f + xOffset, 0.0f + yOffset); in make_three_line() 89 b.moveTo(-32.5f + xOffset, 19 + yOffset); in make_three_line() 90 b.lineTo(32.5f + xOffset, 19 + yOffset); in make_three_line() 92 b.moveTo(-32.5f + xOffset, -19 + yOffset); in make_three_line() 93 b.lineTo(32.5f + xOffset, -19 + yOffset); in make_three_line() 94 b.lineTo(-32.5f + xOffset, -19 + yOffset); in make_three_line() 103 static SkScalar yOffset = 40.f; in make_arrow() local 105 b.moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow() 122 static SkScalar yOffset = -50.f; make_curve() local 185 static SkScalar yOffset = -270.f; make_ring() local [all...] |
H A D | textblobmixedsizes.cpp | 57 SkScalar yOffset = bounds.height(); variable 60 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); 64 yOffset += bounds.height(); 67 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); 71 yOffset += bounds.height(); 74 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); 78 yOffset += bounds.height(); 81 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); 85 yOffset += bounds.height(); 88 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); [all...] |
H A D | textblobtransforms.cpp | 51 SkScalar yOffset = bounds.height(); variable 56 ToolUtils::add_to_text_blob(&builder, text, font, xOffset, -yOffset - 10); 85 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); variable 87 canvas->translate(xOffset, 2 * yOffset); 93 canvas->translate(-xOffset, -yOffset); 95 canvas->translate(0, 2 * yOffset); 99 canvas->translate(4 * xOffset, -yOffset); 103 canvas->translate(0, -yOffset); 109 canvas->translate(-xOffset, yOffset); 115 canvas->translate(- 3 * xOffset, 3 * yOffset); [all...] |
H A D | textblobrandomfont.cpp | 137 SkScalar yOffset = 5; variable 145 canvas->drawTextBlob(fBlob, 10, yOffset, paint); 146 yOffset += stride; 151 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); 153 yOffset += stride; 161 canvas->drawTextBlob(fBlob, 10, yOffset, paint); 162 yOffset += stride;
|
H A D | androidblendmodes.cpp | 66 void drawTile(SkCanvas* canvas, int xOffset, int yOffset, SkBlendMode mode) { in drawTile() argument 67 canvas->translate(xOffset, yOffset); in drawTile() 84 int xOffset = 0, yOffset = 0; variable 101 this->drawTile(canvas, xOffset, yOffset, mode); 106 yOffset + kBitmapSize, 112 yOffset += 256;
|
H A D | mixedtextblobs.cpp | 66 SkScalar yOffset = bounds.height(); variable 67 ToolUtils::add_to_text_blob(&builder, text, font, 10, yOffset); 69 SkScalar corruptedAy = yOffset; 75 yOffset = boundsHalfHeight; 87 yOffset - bounds.height() * 0.5f); 95 ToolUtils::add_to_text_blob(&builder, fEmojiText, font, xOffset, yOffset);
|
H A D | arcofzorro.cpp | 48 int xOffset = 0, yOffset = 0; variable 57 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); 70 yOffset += 10;
|
H A D | textblobcolortrans.cpp | 47 SkScalar yOffset = bounds.height(); variable 48 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 30); 54 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 8);
|
H A D | textblobblockreordering.cpp | 46 SkScalar yOffset = bounds.height(); variable 47 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 30);
|
H A D | tablecolorfilter.cpp | 165 SkScalar yOffset = SkScalar(bm.height() * 9 / 8); variable 191 y += yOffset; 204 y += yOffset;
|
H A D | arcto.cpp | 202 const SkScalar yOffset = 122.88f; in DEF_SIMPLE_GM() local 204 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); in DEF_SIMPLE_GM()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLPreRotationTest.cpp | 240 GLint yOffset = 126; in testDrawingAndReadPixels() local 244 glReadPixels(xOffset, yOffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in testDrawingAndReadPixels() 252 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() 262 GLint yOffset = 26; in testDrawingAndReadPixels() local 266 glReadPixels(xOffset, yOffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels2[0]); in testDrawingAndReadPixels() 274 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() 817 void test256x256PredictablePattern(GLint xOffset, GLint yOffset) in test256x256PredictablePattern() argument 819 EXPECT_PIXEL_COLOR_EQ(xOffset + 0, yOffset + 0, GLColor::black); in test256x256PredictablePattern() 820 EXPECT_PIXEL_COLOR_EQ(xOffset + 0, yOffset + mSize - 1, GLColor::green); in test256x256PredictablePattern() 821 EXPECT_PIXEL_COLOR_EQ(xOffset + mSize - 1, yOffset in test256x256PredictablePattern() 905 GLint yOffset = 30; TEST_P() local 1532 GLint yOffset = 30; TEST_P() local 1650 GLint yOffset = 30; TEST_P() local 1769 GLint yOffset = 30; TEST_P() local 1892 GLint yOffset = 30; TEST_P() local 1983 GLint yOffset = 0; TEST_P() local 2140 GLint yOffset = 0; TEST_P() local 2264 GLint yOffset = 0; TEST_P() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/ |
H A D | CompositeBitmapGlyph.java | 31 private int yOffset; field in CompositeBitmapGlyph.Component 33 protected Component(int glyphCode, int xOffset, int yOffset) { in Component() argument 36 this.yOffset = yOffset; in Component() 47 public int yOffset() { in yOffset() method in CompositeBitmapGlyph.Component 48 return this.yOffset; in yOffset()
|
/third_party/skia/third_party/externals/angle2/samples/tri_fan_microbench/ |
H A D | TriFanMicroBench.cpp | 65 GLfloat yOffset = yMin; in createVertexBuffers() local 72 tempVerts[j * 3 + 1] = fanVertices[j * 3 + 1] + yOffset; in createVertexBuffers() 83 yOffset += 2 * halfDim; in createVertexBuffers() 111 yOffset = yMin; in createVertexBuffers() 120 tempVerts[j * 3 + 1] = triPointer[1] + yOffset; in createVertexBuffers() 130 yOffset += 2 * halfDim; in createVertexBuffers()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | pshints.c | 1149 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init() 1152 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init() 1538 * that adds yOffset unconditionally to *y. 1588 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1596 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1613 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1621 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1635 *y = MUL_INT32( 2, glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1641 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1649 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1726 CF2_Fixed xOffset, yOffset; cf2_glyphpath_lineTo() local [all...] |
/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkGifImageReader.cpp | 744 int height, width, xOffset, yOffset; in parse() local 750 yOffset = GETINT16(currentComponent + 2); in parse() 768 fScreenHeight = std::max(fScreenHeight, yOffset + height); in parse() 799 const bool frameIsSubset = xOffset > 0 || yOffset > 0 in parse() 818 currentFrame->setXYWH(xOffset, yOffset, width, height); in parse()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-sbix-table.hh | 55 new_glyph->yOffset = yOffset; in copy() 65 HBINT16 yOffset; /* The vertical (y-axis) offset from the bottom member 136 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 483 int yOffset = rnd.getInt(0, yOffsetMax); in iterate() local 487 glViewport(xOffset, yOffset, width, height); in iterate() 502 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess()); in iterate() 507 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, referenceImg.getAccess()); in iterate()
|
/third_party/skia/src/sfnt/ |
H A D | SkOTTable_EBDT.h | 89 SK_OT_CHAR yOffset; // Position of component top member
|
/third_party/icu/icu4c/source/samples/layout/ |
H A D | GDIFontInstance.cpp | 92 float yOffset = ps[dyStart * 2 + 1]; in drawGlyphs() local 95 while (dyEnd < out && yOffset == ps[dyEnd * 2 + 1]) { in drawGlyphs() 99 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip, in drawGlyphs()
|
/third_party/skia/src/image/ |
H A D | SkSurface.cpp | 338 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) { in draw() argument 339 if (xOffset != 0 || yOffset != 0) { in draw() 343 return asSB(this)->onDraw(std::move(ddl), { xOffset, yOffset }); in draw()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | GDIFontInstance.cpp | 92 float yOffset = ps[dyStart * 2 + 1]; in drawGlyphs() local 95 while (dyEnd < out && yOffset == ps[dyEnd * 2 + 1]) { in drawGlyphs() 99 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip, in drawGlyphs()
|
/third_party/skia/tests/ |
H A D | TextBlobCacheTest.cpp | 37 int yOffset = 0; in draw() local 42 yOffset += SkScalarCeilToInt(bounds.height()); in draw() 44 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()
|
/third_party/skia/src/codec/ |
H A D | SkFrameHolder.h | 111 int yOffset() const { return fRect.y(); } in yOffset() function in SkFrame
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | ftoutln.h | 267 * yOffset :: 273 FT_Pos yOffset );
|