src/blitter/base.hpp
changeset 6947 2e14760f63f9
parent 6940 32f30eb820f0
child 6948 d7d326482813
equal deleted inserted replaced
6946:a48b23f1cc8a 6947:2e14760f63f9
    92 	 * Make a single horizontal line in a single color on the video-buffer.
    92 	 * Make a single horizontal line in a single color on the video-buffer.
    93 	 * @param video The destination pointer (video-buffer).
    93 	 * @param video The destination pointer (video-buffer).
    94 	 * @param width The lenght of the line.
    94 	 * @param width The lenght of the line.
    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 DrawRect(void *video, int width, int height, uint8 color) = 0;
    98 
    98 
    99 	/**
    99 	/**
   100 	 * Copy from a buffer to the screen.
   100 	 * Copy from a buffer to the screen.
   101 	 * @param video The destionation pointer (video-buffer).
   101 	 * @param video The destionation pointer (video-buffer).
   102 	 * @param src The buffer from which the data will be read.
   102 	 * @param src The buffer from which the data will be read.