Back to index

scribus-ng  1.3.4.dfsg+svn20071115
art_rgba_affine.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /* Libart_LGPL - library of basic graphic primitives
00008  * Copyright (C) 1998 Raph Levien
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Library General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2 of the License, or (at your option) any later version.
00014  *
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Library General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Library General Public
00021  * License along with this library; if not, write to the
00022  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00023  * Boston, MA 02111-1307, USA.
00024  */
00025 
00026 #ifndef __ART_RGB_AFFINE_H__
00027 #define __ART_RGB_AFFINE_H__
00028 
00029 /* This module handles compositing of affine-transformed rgb images
00030    over rgb pixel buffers. */
00031 
00032 #ifdef LIBART_COMPILATION
00033 #include "art_filterlevel.h"
00034 #include "art_alphagamma.h"
00035 #else
00036 #include <libart_lgpl/art_filterlevel.h>
00037 #include <libart_lgpl/art_alphagamma.h>
00038 #endif
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044 void
00045 art_rgba_affine (art_u8 *dst, int x0, int y0, int x1, int y1, int dst_rowstride,
00046               const art_u8 *src,
00047               int src_width, int src_height, int src_rowstride,
00048               const double affine[6],
00049               ArtFilterLevel level,
00050               ArtAlphaGamma *alphagamma);
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif