2
|
1 |
/*
|
5506
|
2 |
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
2
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
*
|
|
5 |
* This code is free software; you can redistribute it and/or modify it
|
|
6 |
* under the terms of the GNU General Public License version 2 only, as
|
5506
|
7 |
* published by the Free Software Foundation. Oracle designates this
|
2
|
8 |
* particular file as subject to the "Classpath" exception as provided
|
5506
|
9 |
* by Oracle in the LICENSE file that accompanied this code.
|
2
|
10 |
*
|
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that
|
|
15 |
* accompanied this code).
|
|
16 |
*
|
|
17 |
* You should have received a copy of the GNU General Public License version
|
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
20 |
*
|
5506
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
22 |
* or visit www.oracle.com if you need additional information or have any
|
|
23 |
* questions.
|
2
|
24 |
*/
|
|
25 |
|
|
26 |
|
|
27 |
#ifndef __MLIB_IMAGECONVEDGE_H
|
|
28 |
#define __MLIB_IMAGECONVEDGE_H
|
|
29 |
|
|
30 |
#ifdef __cplusplus
|
|
31 |
extern "C" {
|
|
32 |
#endif /* __cplusplus */
|
|
33 |
|
|
34 |
mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img,
|
|
35 |
mlib_s32 dx_l,
|
|
36 |
mlib_s32 dx_r,
|
|
37 |
mlib_s32 dy_t,
|
|
38 |
mlib_s32 dy_b,
|
|
39 |
const mlib_s32 *color,
|
|
40 |
mlib_s32 cmask);
|
|
41 |
|
|
42 |
mlib_status mlib_ImageConvClearEdge(mlib_image *dst,
|
|
43 |
mlib_s32 dx_l,
|
|
44 |
mlib_s32 dx_r,
|
|
45 |
mlib_s32 dy_t,
|
|
46 |
mlib_s32 dy_b,
|
|
47 |
const mlib_s32 *color,
|
|
48 |
mlib_s32 cmask);
|
|
49 |
|
|
50 |
mlib_status mlib_ImageConvClearEdge_Fp(mlib_image *img,
|
|
51 |
mlib_s32 dx_l,
|
|
52 |
mlib_s32 dx_r,
|
|
53 |
mlib_s32 dy_t,
|
|
54 |
mlib_s32 dy_b,
|
|
55 |
const mlib_d64 *color,
|
|
56 |
mlib_s32 cmask);
|
|
57 |
|
|
58 |
mlib_status mlib_ImageConvZeroEdge(mlib_image *dst,
|
|
59 |
mlib_s32 dx_l,
|
|
60 |
mlib_s32 dx_r,
|
|
61 |
mlib_s32 dy_t,
|
|
62 |
mlib_s32 dy_b,
|
|
63 |
mlib_s32 cmask);
|
|
64 |
|
|
65 |
mlib_status mlib_ImageConvCopyEdge_Bit(mlib_image *dst,
|
|
66 |
const mlib_image *src,
|
|
67 |
mlib_s32 dx_l,
|
|
68 |
mlib_s32 dx_r,
|
|
69 |
mlib_s32 dy_t,
|
|
70 |
mlib_s32 dy_b,
|
|
71 |
mlib_s32 cmask);
|
|
72 |
|
|
73 |
mlib_status mlib_ImageConvCopyEdge(mlib_image *dst,
|
|
74 |
const mlib_image *src,
|
|
75 |
mlib_s32 dx_l,
|
|
76 |
mlib_s32 dx_r,
|
|
77 |
mlib_s32 dy_t,
|
|
78 |
mlib_s32 dy_b,
|
|
79 |
mlib_s32 cmask);
|
|
80 |
|
|
81 |
mlib_status mlib_ImageConvCopyEdge_Fp(mlib_image *dst,
|
|
82 |
const mlib_image *src,
|
|
83 |
mlib_s32 dx_l,
|
|
84 |
mlib_s32 dx_r,
|
|
85 |
mlib_s32 dy_t,
|
|
86 |
mlib_s32 dy_b,
|
|
87 |
mlib_s32 cmask);
|
|
88 |
|
|
89 |
#ifdef __cplusplus
|
|
90 |
}
|
|
91 |
#endif /* __cplusplus */
|
|
92 |
#endif /* __MLIB_IMAGECONVEDGE_H */
|