Home | History | Annotate | Download | only in font

Lines Matching defs:newBlock

37 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) {
40 newBlock, newBlock->mX, newBlock->mY,
41 newBlock->mWidth, newBlock->mHeight);
48 if (newBlock->mWidth < currBlock->mWidth) {
49 newBlock->mNext = currBlock;
50 newBlock->mPrev = prevBlock;
51 currBlock->mPrev = newBlock;
54 prevBlock->mNext = newBlock;
57 return newBlock;
66 newBlock->mNext = currBlock;
67 newBlock->mPrev = prevBlock;
70 currBlock->mPrev = newBlock;
74 prevBlock->mNext = newBlock;
77 return newBlock;
299 CacheBlock* newBlock = new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE,
303 newBlock, newBlock->mX, newBlock->mY,
304 newBlock->mWidth, newBlock->mHeight);
306 mCacheBlocks = CacheBlock::insertBlock(mCacheBlocks, newBlock);