Subversion Repositories HelenOS-historic

Rev

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

Rev 1547 Rev 1555
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef _PPM_H_
29
#ifndef _PPM_H_
30
#define _PPM_H_
30
#define _PPM_H_
31
 
31
 
32
int draw_ppm(unsigned char *data, size_t datasz, unsigned int sx,
32
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx,
33
         unsigned int sy,
33
         unsigned int sy,
34
         unsigned int maxwidth, unsigned int maxheight,
34
         unsigned int maxwidth, unsigned int maxheight,
35
         void (*putpixel)(int,unsigned int, unsigned int, int),int vp);
35
         void (*putpixel)(int,unsigned int, unsigned int, int),int vp);
-
 
36
int ppm_get_data(unsigned char *data, size_t dtsz, int *width, int *height);
36
 
37
 
37
#endif
38
#endif