he unpack code for ICO/CUR file handling could extend 32-bit unsigned values to 64...
[imager.git] / draw.h
CommitLineData
92bda632 1#include "imager.h"
02d1d628
AMH
2
3typedef struct {
8d14daab 4 i_img_dim min,max;
02d1d628
AMH
5} minmax;
6
7typedef struct {
8 minmax *data;
8d14daab 9 i_img_dim lines;
02d1d628
AMH
10} i_mmarray;
11
12/* FIXME: Merge this into datatypes.{c,h} */
13
8d14daab 14void i_mmarray_cr(i_mmarray *ar,i_img_dim l);
02d1d628 15void i_mmarray_dst(i_mmarray *ar);
8d14daab 16void i_mmarray_add(i_mmarray *ar,i_img_dim x,i_img_dim y);
498a7bc2
TC
17i_img_dim i_mmarray_gmin(i_mmarray *ar,i_img_dim y);
18i_img_dim i_mmarray_getm(i_mmarray *ar,i_img_dim y);
02d1d628 19void i_mmarray_info(i_mmarray *ar);
8d14daab
TC
20#if 0
21void i_mmarray_render(i_img *im,i_mmarray *ar,i_color *val);
22#endif