karbon
art_rgb.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_H__ 00021 #define __ART_RGB_H__ 00022 00023 #ifdef LIBART_COMPILATION 00024 #include "art_misc.h" 00025 #else 00026 #include <libart_lgpl/art_misc.h> 00027 #endif 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif 00032 00033 void 00034 art_rgb_fill_run_ (art_u8 *buf, art_u32 rgb, int n); 00035 00036 void 00037 art_rgb_run_alpha_ (art_u8 *buf, art_u8 r, art_u8 g, art_u8 b, int alpha, 00038 int n); 00039 00040 #ifdef __cplusplus 00041 } 00042 #endif 00043 00044 #endif