From 4ec716103270459a978fe1e6c699db5bfd5ae6cc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 27 Apr 2005 20:29:19 +0000 Subject: Patch #1186744 (Common line-drawing function) svn-id: r17842 --- graphics/primitives.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 graphics/primitives.h (limited to 'graphics/primitives.h') diff --git a/graphics/primitives.h b/graphics/primitives.h new file mode 100644 index 0000000000..d00c68840e --- /dev/null +++ b/graphics/primitives.h @@ -0,0 +1,30 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2002-2005 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + */ + +#ifndef GRAPHICS_PRIMITIVES_H +#define GRAPHICS_PRIMITIVES_H + +namespace Graphics { + +extern void drawLine(int x0, int y0, int x1, int y1, int color, void (*plotProc)(int, int, int, void *), void *data); + +} // End of namespace Graphics + +#endif -- cgit v1.2.3