Lines Matching refs:wx
234 void FillRect(int x, int y, int wx, int wy, RGB555 col) in FillRect() argument
238 r.wid.x = wx, r.wid.y = wy; in FillRect()
250 void BlitRect(int x, int y, int wx, int wy, RGB555 * src, int stroke) in BlitRect() argument
254 r.wid.x = wx, r.wid.y = wy; in BlitRect()
267 void TransRect(int x, int y, int wx, int wy, RGB555 * src, int stroke) in TransRect() argument
271 r.wid.x = wx, r.wid.y = wy; in TransRect()
296 int wx, wy; in DrawLine() local
302 wx = tx - sx, wy = ty - sy; in DrawLine()
304 if (!wx) in DrawLine()
334 wx += sx, sx = pc->clip.o.x; in DrawLine()
335 if (wx > pc->clip.t.x - sx) in DrawLine()
336 wx = pc->clip.t.x - sx; in DrawLine()
338 MI_CpuFill16(p, col, wx * sizeof(RGB555)); in DrawLine()
353 dx = wy - 1, dy = wx - 1; in DrawLine()
355 for (n = wx * wy; --n >= 0;) in DrawLine()
360 if (++dy >= wx) in DrawLine()
451 int wx = 8, wy = 8; in DrawTextLen() local
454 else if (wx > pc->clip.t.x - tx) in DrawTextLen()
455 wx = pc->clip.t.x - tx; in DrawTextLen()
468 for (i = base; i < wx; ++i) in DrawTextLen()