(svn r25911) -Add: Support for drawing dashed lines.

This commit is contained in:
fonsinchen
2013-10-23 19:41:20 +00:00
parent 49d2cd4049
commit 19661eeef8
4 changed files with 18 additions and 11 deletions

View File

@@ -118,8 +118,9 @@ public:
* @param screen_height The height of the screen you are drawing in (to avoid buffer-overflows).
* @param colour A 8bpp mapping colour.
* @param width Line width.
* @param dash Length of dashes for dashed lines. 0 means solid line.
*/
virtual void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width);
virtual void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width, int dash = 0);
/**
* Copy from a buffer to the screen.