Lines Matching refs:mHeight
41 newBlock->mWidth, newBlock->mHeight); in insertBlock()
85 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock()
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), in CacheTexture()
117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); in CacheTexture()
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); in init()
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); in allocateTexture()
194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0, in allocateTexture()
260 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > mHeight) { in fitBitmap()
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
281 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
297 if (mHeight - glyphH >= glyphH) { in fitBitmap()
300 roundedUpW, mHeight - glyphH - TEXTURE_BORDER_SIZE); in fitBitmap()
304 newBlock->mWidth, newBlock->mHeight); in fitBitmap()
311 cacheBlock->mHeight -= glyphH; in fitBitmap()
315 cacheBlock->mWidth, cacheBlock->mHeight); in fitBitmap()
319 if (cacheBlock->mHeight < fmin(glyphH, glyphW)) { in fitBitmap()