contrib/OWB: add correct SDL dependency, fix compilers used
[AROS-Contrib.git] / freetype1 / test / blitter.h
bloba506ea4657f953a63c5db0b872822e5c8b574c93
1 /****************************************************************************/
2 /* */
3 /* The FreeType project -- a free and portable quality TrueType renderer. */
4 /* */
5 /* Copyright 1996-1999 by */
6 /* D. Turner, R.Wilhelm, and W. Lemberg */
7 /* */
8 /* blitter.h: Support for blitting of bitmaps with various depth. */
9 /* */
10 /****************************************************************************/
12 #ifndef BLITTER_H
13 #define BLITTER_H
15 #include <freetype.h>
17 /* <Function> */
18 /* Blit_Bitmap */
19 /* */
20 /* <Description> */
21 /* blit a source bitmap to a target bitmap or pixmap */
22 /* */
23 /* <Input> */
24 /* target :: target bitmap or pixmap */
25 /* source :: source bitmap (depth must be 1) */
26 /* target_depth :: pixel bit depth of target map */
27 /* x_offset :: horizontal offset of source in target */
28 /* y_offset :: vertical offset of source in target */
29 /* color :: color to use when blitting to color pixmap */
30 /* */
31 /* <Return> */
32 /* error code. 0 means success */
33 /* */
34 /* <Note> */
35 /* an error occurs when the target bit depth isn't supported, or */
36 /* if the source's bit depth isn't 1. */
37 /* */
38 /* the offsets are relative to the top-left corner of the target */
39 /* map. Positive y are downwards. */
40 /* */
41 extern
42 int Blit_Bitmap( TT_Raster_Map* target,
43 TT_Raster_Map* source,
44 int target_depth,
45 int x_offset,
46 int y_offset,
47 int color );
49 #endif
52 /* End */