karbon

art_rgba_affine.h

00001 /* Libart_LGPL - library of basic graphic primitives
00002  * Copyright (C) 1998 Raph Levien
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018  */
00019 
00020 #ifndef __ART_RGB_AFFINE_H__
00021 #define __ART_RGB_AFFINE_H__
00022 
00023 /* This module handles compositing of affine-transformed rgb images
00024    over rgb pixel buffers. */
00025 
00026 #ifdef LIBART_COMPILATION
00027 #include "art_filterlevel.h"
00028 #include "art_alphagamma.h"
00029 #else
00030 #include <libart_lgpl/art_filterlevel.h>
00031 #include <libart_lgpl/art_alphagamma.h>
00032 #endif
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 void
00039 art_rgba_affine (art_u8 *dst, int x0, int y0, int x1, int y1, int dst_rowstride,
00040         const art_u8 *src,
00041         int src_width, int src_height, int src_rowstride,
00042         const double affine[6],
00043         ArtFilterLevel level,
00044         ArtAlphaGamma *alphagamma);
00045 
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049 
00050 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys