1 |
/* |
2 |
* Expands a layout by 2x in each dimension. |
3 |
* (Header file) |
4 |
* H. S. Teoh |
5 |
* -------------------------------------------------------------------------- |
6 |
* $Id: expand2x.h,v 1.1 2001/05/04 22:10:04 mardahl Exp $ |
7 |
*/ |
8 |
|
9 |
#ifndef EXPAND2X_H |
10 |
#define EXPAND2X_H |
11 |
|
12 |
/* Expands a layout by 2x in each dimension. |
13 |
* Resulting layout is actually (2*xsize-1)x(2*ysize-1). (Because of the cheesy |
14 |
* algorithm, but hey, it works). |
15 |
* |
16 |
* Don't forget to free the old layout after this is called (it does not |
17 |
* presume to do so itself). |
18 |
*/ |
19 |
char **expand2x(char **layout, int xsize, int ysize); |
20 |
|
21 |
#endif /* EXPAND2X_H */ |