Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 4 of 4) sorted by relevance

/TwlSDK-5.4/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOBitmap.c446 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
[all …]
/TwlSDK-5.4/build/demos/ctrdg/backup-1/src/
Ddraw.c191 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()
[all …]
/TwlSDK-5.4/build/demos/gx/UnitTours/DEMOLib/include/
DDEMOBitmap.h41 #define DEMODrawLine(sx, sy, tx, ty, color) DEMOiDrawLine(sx, sy, tx, ty, DEMOVerifyGXRgb(color)) argument
171 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color);
/TwlSDK-5.4/build/demos/ctrdg/backup-1/include/
Ddraw.h101 void ClipWindow(int ox, int oy, int tx, int ty, Rect * p_bak);
138 void DrawLine(int sx, int sy, int tx, int ty, RGB555 col);