1-----2 | | 4-----3 */
| 171 | 4-----3 |
| 172 | */ |
| 173 | void parallelogram(Image* bmp, const Image* sprite, const Image* mask, |
| 174 | int x1, int y1, int x2, int y2, |
| 175 | int x3, int y3, int x4, int y4) |
| 176 | { |
| 177 | fixed xs[4], ys[4]; |
| 178 | |
| 179 | xs[0] = itofix(x1); |
| 180 | ys[0] = itofix(y1); |
| 181 | xs[1] = itofix(x2); |
| 182 | ys[1] = itofix(y2); |
| 183 | xs[2] = itofix(x3); |
| 184 | ys[2] = itofix(y3); |
| 185 | xs[3] = itofix(x4); |
| 186 | ys[3] = itofix(y4); |
| 187 | |
| 188 | ase_parallelogram_map_standard(bmp, sprite, mask, xs, ys); |
| 189 | } |
| 190 | |
| 191 | // Scanline drawers. |
| 192 |
no test coverage detected