… | |
… | |
1763 | eheight = height; |
1763 | eheight = height; |
1764 | } |
1764 | } |
1765 | #endif |
1765 | #endif |
1766 | |
1766 | |
1767 | #ifdef DEBUG_STRICT |
1767 | #ifdef DEBUG_STRICT |
1768 | x = max (x, 0); |
1768 | #if 0 |
1769 | x = min (x, (int)width); |
1769 | // that's not debugging //TODO //FIXME |
1770 | y = max (y, 0); |
1770 | clamp_it (x, 0, width); |
1771 | y = min (y, (int)height); |
1771 | clamp_it (y, 0, height); |
|
|
1772 | #endif |
1772 | #endif |
1773 | #endif |
1773 | |
1774 | |
1774 | /* round down */ |
1775 | /* round down */ |
1775 | rc[PART_BEG].col = Pixel2Col (x); |
1776 | rc[PART_BEG].col = Pixel2Col (x); |
1776 | rc[PART_BEG].row = Pixel2Row (y); |
1777 | rc[PART_BEG].row = Pixel2Row (y); |