dd_image.h 251 B

123456789101112131415
  1. #ifndef DD_IMAGE_H
  2. #define DD_IMAGE_H
  3. struct dd_image {
  4. void *pixels;
  5. int width, height;
  6. };
  7. void dd_image_load_bmp(struct dd_image *img, char *filename);
  8. void dd_image_free(struct dd_image *img);
  9. void dd_image_draw(struct dd_image *img);
  10. #endif