File: surface.h

package info (click to toggle)
xsystem35 1.7.3-pre5-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 7,332 kB
  • sloc: ansic: 51,002; sh: 12,048; asm: 863; makefile: 410; xml: 281; perl: 142
file content (18 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __SURFACE_H__
#define __SURFACE_H__

#include "portab.h"
#include "ags.h"

#define surface_t agsurface_t

extern surface_t *sf_create_surface(int width, int height, int depth);
extern surface_t *sf_create_alpha(int width, int height);
extern surface_t *sf_create_pixel(int width, int height, int depth);
extern void       sf_free(surface_t *s);
extern surface_t *sf_dup(surface_t *in);
extern surface_t *sf_dup2(surface_t *in, boolean copypixel, boolean copyalpha);
extern void       sf_copyall(surface_t *dst, surface_t *src);


#endif /* __SURFACE_H__ */