00001 /* 00002 * charrenderer.h - Simple module for rendering a character-based layout 00003 * to a canvas. 00004 * This file is part of the FreeLCD package. 00005 * 00006 * $Id: charrenderer_8h-source.html,v 1.1 2003/02/16 22:50:41 unicorn Exp $ 00007 * 00008 * This program is free software; you can redistribute it and/or modify it 00009 * under the terms of the GNU General Public License as published by the 00010 * Free Software Foundation; either version 2 of the License, or (at your 00011 * option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00021 * MA 02111-1307 USA 00022 * 00023 * Copyright (c) 2002, 2003, Jeroen van den Berg <[email protected]> 00024 */ 00025 00026 00027 #ifndef _CHARRENDERER_H 00028 #define _CHARRENDERER_H 00029 00030 #include <common/xmlt.h> 00031 #include "charlayout.h" 00032 #include "charcanvas.h" 00033 00034 /* Render the data, using the given layout, to the canvas. The canvas can 00035 * then be used by a driver to send it as good as possible to the device. */ 00036 void 00037 cr_render (cl_layout *layout, xml_node *data, cc_canvas *canvas); 00038 00039 00040 #endif /* Multiple include guard */