Lines Matching refs:tx
446 int tx, ty, dx, dy, nx, ny; in DEMOBlitTex16() local
450 for (tx = 0; tx < wx; tx += 8) in DEMOBlitTex16()
452 nx = MATH_MIN(wx - tx, 8); in DEMOBlitTex16()
460 … dst[(ty + dy) * GX_LCD_SIZE_X + tx + dx] = (GXRgb)(plt[index] | 0x8000); in DEMOBlitTex16()
466 src += (stroke - tx) * 8 / 2; in DEMOBlitTex16()
486 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color) in DEMOiDrawLine() argument
491 if (sx > tx) in DEMOiDrawLine()
493 tmp = sx + 1, sx = tx + 1, tx = tmp; in DEMOiDrawLine()
498 int wx = tx - sx; in DEMOiDrawLine()
666 int tx = x + px; in DEMODrawText() local
667 if ((tx > -8) && (tx < GX_LCD_SIZE_X) && in DEMODrawText()
672 if (tx < 0) in DEMODrawText()
674 ox = -tx; in DEMODrawText()
678 wx = MATH_MIN(wx, GX_LCD_SIZE_X - tx); in DEMODrawText()