File: draw.h

package info (click to toggle)
libimager-perl 0.91%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,872 kB
  • sloc: perl: 28,332; ansic: 26,080; sh: 48; makefile: 22
file content (22 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "imager.h"

typedef struct {
  i_img_dim min,max;
}  minmax;

typedef struct {
  minmax *data;
  i_img_dim lines;
} i_mmarray;

/* FIXME: Merge this into datatypes.{c,h} */

void i_mmarray_cr(i_mmarray *ar,i_img_dim l);
void i_mmarray_dst(i_mmarray *ar);
void i_mmarray_add(i_mmarray *ar,i_img_dim x,i_img_dim y);
int i_mmarray_gmin(i_mmarray *ar,i_img_dim y);
int i_mmarray_getm(i_mmarray *ar,i_img_dim y);
void i_mmarray_info(i_mmarray *ar);
#if 0
void i_mmarray_render(i_img *im,i_mmarray *ar,i_color *val);
#endif