Lines Matching full:startx
195 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
197 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
246 uint32_t startX = 0;
249 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
256 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
267 *retOriginX = startX;
270 uint32_t endX = startX + glyph.fWidth;
292 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
300 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
301 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
310 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
311 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
316 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
330 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)];
331 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
348 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
355 cacheX = startX;
360 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
372 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;