Back to index

scribus-ng  1.3.4.dfsg+svn20071115
art_rgb.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_H__
00027 #define __ART_RGB_H__
00028 
00029 #ifdef LIBART_COMPILATION
00030 #include "art_misc.h"
00031 #else
00032 #include <libart_lgpl/art_misc.h>
00033 #endif
00034 
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038 
00039 void
00040 art_rgb_fill_run_ (art_u8 *buf, art_u32 rgb, int n);
00041 
00042 void
00043 art_rgb_run_alpha_ (art_u8 *buf, art_u8 r, art_u8 g, art_u8 b, int alpha,
00044                  int n);
00045 
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049 
00050 #endif