4 texture generation functions
5 v1.0 translated from amigaE.
18 void txt_MakeTiledHoriz(Texture
*image
,int border
);
20 void txt_MakeTiledVert(Texture
*txt
);
21 void txt_MakeTiled(Texture
*txt
);
22 void txt_AdjustBrightnessCOPYHI16(Texture
*src
,Texture
*dst
, int bri
);
23 void txt_AdjustBrightnessCOPYGRAY8(Texture
*src
,Texture
*dst
, int bri
);
24 void txt_AdjustBrightnessCOPYTRUE24(Texture
*src
,Texture
*dst
, int bri
);
26 void txt_CropZero( Texture
*txt
, int tolerance
);
27 void txt_CropZero8( Texture
*txt
, int tolerance
);
29 void txt_AddBrightness(Texture
*txt
,int);
30 void txt_AddBrightnessCOPY(Texture
*src
,Texture
*dst
,int);
31 void txt_AdjustContrast(Texture
*txt
,int);
32 Texture
*txtDuplicate( Texture
*txt
);
36 void txt_EqualizeImage(Texture
*txt
);
37 void txt_FillImage(Texture
*txt
, int r
, int g
, int b
);
39 Texture
* txt_AllocSecondBuffer(Texture
*txt
);
41 void txt_Scramble( Texture
*txt
);
43 void txt_Blur8( Texture
*txt
, int size
);
44 void txt_Blur16( Texture
*txt
, int size
);
46 void txt_Min8( Texture
*txt1
, Texture
*txt2
, Texture
*txt
);
47 void txt_Max8( Texture
*txt1
, Texture
*txt2
, Texture
*txt
);
49 void txtInsertAlpha( Texture
*txt
, Texture
*alphaTxt
);
50 void imgInsertAlpha( ChkImage
*img
, ChkImage
*alpha
, int mode
);
51 void txtFillImageAlpha( Texture
*txt
, int a
);
52 void chkFillAlpha(ChkImage
*img
, int a
);
54 Texture
*txtCutRectangle(Texture
*txt
, int x
, int y
, int width
, int height
);
56 #define INSERTALPHA_ALPHA 0
57 #define INSERTALPHA_LUMINANCE 1