* Draws a line on the surface. * @param x1 Start x coordinate in pixels. * @param y1 Start y coordinate in pixels. * @param x2 End x coordinate in pixels. * @param y2 End y coordinate in pixels. * @param color Color of the line. */
| 575 | * @param color Color of the line. |
| 576 | */ |
| 577 | void Surface::drawLine(Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 color) |
| 578 | { |
| 579 | lineColor(_surface, x1, y1, x2, y2, Palette::getRGBA(getPalette(), color)); |
| 580 | } |
| 581 | |
| 582 | /** |
| 583 | * Draws a filled circle on the surface. |
no outgoing calls
no test coverage detected