examples/memory/glut-helper.h

00001 /*
00002     GLICT - Graphics Library Interface Creation Toolkit
00003     Copyright (C) 2006 OBJECT Networks
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public
00016     License along with this library; if not, write to the Free
00017     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018 */
00019 
00020 
00021 
00022 /* This file is now defunct. Its functionality is now superseded by fonts.h,
00023    except in this example. */
00024 
00025 
00026 
00027 // Glut-helper.cpp
00028 // contains glut helper
00029 
00030 // objnet glut helper
00031 // (c) 2005 object networks
00032 //
00033 // contains some helper code for glut
00034 // e.g. entire string printing
00035 
00036 #ifndef _glutx_
00037 #define _glutx_
00038 void glutxStrokeString(const char* txt, const void* font, float x, float y) ;
00039 char* glutxStrokeStringExpert(const char* txt, const void* font);
00040 void glutxBitmapString(char* txt, const void* font,int x, int y) ;
00041 float glutxBitmapSize(char* txt, const void* font);
00042 float glutxStrokeSize(const char* txt, const void* font);
00043 int glutxNumberOfLines(const char* txt);
00044 #endif

SourceForge.net Logo
generated with doxygen 1.5.3 on Mon Oct 29 18:09:26 2007