From 661c41a09e39a182865e0b51e34cc995a0dc96e8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 12 May 2010 16:54:37 +0000 Subject: move tlperl.straw to tlperl git-svn-id: svn://tug.org/texlive/trunk@18210 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlperl/lib/Imager/include/draw.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 Master/tlpkg/tlperl/lib/Imager/include/draw.h (limited to 'Master/tlpkg/tlperl/lib/Imager/include/draw.h') diff --git a/Master/tlpkg/tlperl/lib/Imager/include/draw.h b/Master/tlpkg/tlperl/lib/Imager/include/draw.h new file mode 100755 index 00000000000..3453de302b6 --- /dev/null +++ b/Master/tlpkg/tlperl/lib/Imager/include/draw.h @@ -0,0 +1,21 @@ +#include "imager.h" + +typedef struct { + int min,max; +} minmax; + +typedef struct { + minmax *data; + int lines; +} i_mmarray; + +/* FIXME: Merge this into datatypes.{c,h} */ + +void i_mmarray_cr(i_mmarray *ar,int l); +void i_mmarray_dst(i_mmarray *ar); +void i_mmarray_add(i_mmarray *ar,int x,int y); +int i_mmarray_gmin(i_mmarray *ar,int y); +int i_mmarray_getm(i_mmarray *ar,int y); +void i_mmarray_render(i_img *im,i_mmarray *ar,i_color *val); +void i_mmarray_info(i_mmarray *ar); + -- cgit v1.2.3