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