Lines Matching refs:tx
191 void ClipWindow(int ox, int oy, int tx, int ty, Rect * p_bak) in ClipWindow() argument
203 if (tx > GX_LCD_SIZE_X) in ClipWindow()
204 tx = GX_LCD_SIZE_X; in ClipWindow()
211 p->clip.t.x = tx; in ClipWindow()
290 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col) in DrawLine() argument
297 if (sx > tx) in DrawLine()
299 tmp = sx + 1, sx = tx + 1, tx = tmp; in DrawLine()
302 wx = tx - sx, wy = ty - sy; in DrawLine()
444 int tx = x + px; in DrawTextLen() local
445 if ((tx > pc->clip.o.x - 8) && (y > pc->clip.o.y - 8) && in DrawTextLen()
446 (tx < pc->clip.t.x) && (y < pc->clip.t.y)) in DrawTextLen()
452 if (pc->clip.o.x - tx > 0) in DrawTextLen()
453 base = pc->clip.o.x - tx; in DrawTextLen()
454 else if (wx > pc->clip.t.x - tx) in DrawTextLen()
455 wx = pc->clip.t.x - tx; in DrawTextLen()