Lines Matching refs:nPenX
95 int32_t nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local
106 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, in drawCachedGlyph()
107 nPenX + width, nPenY, 0, u2, v2, in drawCachedGlyph()
108 nPenX + width, nPenY - height, 0, u2, v1, in drawCachedGlyph()
109 nPenX, nPenY - height, 0, u1, v1); in drawCachedGlyph()
114 int32_t nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local
126 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph()
139 int32_t nPenX = x + glyph->mBitmapLeft; in measureCachedGlyph() local
149 if (bounds->left > nPenX) { in measureCachedGlyph()
150 bounds->left = nPenX; in measureCachedGlyph()
152 if (bounds->right < nPenX + width) { in measureCachedGlyph()
153 bounds->right = nPenX + width; in measureCachedGlyph()