File: moon.h

package info (click to toggle)
pngphoon 1.1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 512 kB
  • sloc: ansic: 5,484; makefile: 58
file content (22 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef _MOON_H_
#define _MOON_H_

#include <png.h>
#include "image.h"

struct moon_s
{
   png_bytep bitmap;
   int	     width;
   int	     height;
   int       xbytes;
};

typedef struct moon_s moon_t;

moon_t *mooncreate();
void moondestroy( moon_t *moon );
void mooncopy( image_t *image, moon_t *moondata, int x, int y, int blackflag );

#endif