7 int xstep = (x1 < x2) ? 1 : -1;
8 int ystep = (y1 < y2) ? 1 : -1;
18 uint16_t *dst = (uint16_t *)(0x06000000 + (y1 * 240 + x1) * 2);
23 for (
int i = 0; i <= dx; i++) {
27 dst += ystep * dstPitch;
34 for (
int i = 0; i <= dy; i++) {
41 dst += ystep * dstPitch;