Subversion Repositories HelenOS-historic

Rev

Rev 1673 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1673 Rev 1709
Line 73... Line 73...
73
 
73
 
74
/** Draw PPM pixmap
74
/** Draw PPM pixmap
75
 *
75
 *
76
 * @param data Pointer to PPM data
76
 * @param data Pointer to PPM data
77
 * @param datasz Maximum data size
77
 * @param datasz Maximum data size
78
 * @param x Coordinate of upper left corner
78
 * @param sx Coordinate of upper left corner
79
 * @param y Coordinate of upper left corner
79
 * @param sy Coordinate of upper left corner
80
 * @param maxwidth Maximum allowed width for picture
80
 * @param maxwidth Maximum allowed width for picture
81
 * @param maxheight Maximum allowed height for picture
81
 * @param maxheight Maximum allowed height for picture
82
 * @param putpixel Putpixel function used to print bitmap
82
 * @param putpixel Putpixel function used to print bitmap
83
 */
83
 */
84
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx,
84
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx,