Path: blob/master/src/java.desktop/share/native/libmlib_image/mlib_ImageConvEdge.h
41149 views
/*1* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/242526#ifndef __MLIB_IMAGECONVEDGE_H27#define __MLIB_IMAGECONVEDGE_H2829#ifdef __cplusplus30extern "C" {31#endif /* __cplusplus */3233mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img,34mlib_s32 dx_l,35mlib_s32 dx_r,36mlib_s32 dy_t,37mlib_s32 dy_b,38const mlib_s32 *color,39mlib_s32 cmask);4041mlib_status mlib_ImageConvClearEdge(mlib_image *dst,42mlib_s32 dx_l,43mlib_s32 dx_r,44mlib_s32 dy_t,45mlib_s32 dy_b,46const mlib_s32 *color,47mlib_s32 cmask);4849mlib_status mlib_ImageConvClearEdge_Fp(mlib_image *img,50mlib_s32 dx_l,51mlib_s32 dx_r,52mlib_s32 dy_t,53mlib_s32 dy_b,54const mlib_d64 *color,55mlib_s32 cmask);5657mlib_status mlib_ImageConvZeroEdge(mlib_image *dst,58mlib_s32 dx_l,59mlib_s32 dx_r,60mlib_s32 dy_t,61mlib_s32 dy_b,62mlib_s32 cmask);6364mlib_status mlib_ImageConvCopyEdge_Bit(mlib_image *dst,65const mlib_image *src,66mlib_s32 dx_l,67mlib_s32 dx_r,68mlib_s32 dy_t,69mlib_s32 dy_b,70mlib_s32 cmask);7172mlib_status mlib_ImageConvCopyEdge(mlib_image *dst,73const mlib_image *src,74mlib_s32 dx_l,75mlib_s32 dx_r,76mlib_s32 dy_t,77mlib_s32 dy_b,78mlib_s32 cmask);7980mlib_status mlib_ImageConvCopyEdge_Fp(mlib_image *dst,81const mlib_image *src,82mlib_s32 dx_l,83mlib_s32 dx_r,84mlib_s32 dy_t,85mlib_s32 dy_b,86mlib_s32 cmask);8788#ifdef __cplusplus89}90#endif /* __cplusplus */91#endif /* __MLIB_IMAGECONVEDGE_H */929394