src/blitter/base.hpp
changeset 7436 5a81fc22ff30
parent 7433 8e410e7ec0d7
child 7443 b8c8a0d029fd
equal deleted inserted replaced
7435:8105b989409a 7436:5a81fc22ff30
    95 	 * @param color A 8bpp mapping color.
    95 	 * @param color A 8bpp mapping color.
    96 	 */
    96 	 */
    97 	virtual void SetHorizontalLine(void *video, int width, uint8 color) = 0;
    97 	virtual void SetHorizontalLine(void *video, int width, uint8 color) = 0;
    98 
    98 
    99 	/**
    99 	/**
   100 	 * Draw a line in which ever direction.
       
   101 	 */
       
   102 	virtual void DrawLine(void *video, int x, int y, int x2, int y2, uint8 color) = 0;
       
   103 
       
   104 	/**
       
   105 	 * Copy from a buffer to the screen.
   100 	 * Copy from a buffer to the screen.
   106 	 * @param video The destionation pointer (video-buffer).
   101 	 * @param video The destionation pointer (video-buffer).
   107 	 * @param src The buffer from which the data will be read.
   102 	 * @param src The buffer from which the data will be read.
   108 	 * @param width The width of the buffer.
   103 	 * @param width The width of the buffer.
   109 	 * @param height The height of the buffer.
   104 	 * @param height The height of the buffer.