OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGdFont.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks)
6 // Description:
7 //
8 //*************************************************************************
9 // $Id: ossimGdFont.h 9968 2006-11-29 14:01:53Z gpotts $
10 #ifndef ossimGdFont_HEADER
11 #define ossimGdFont_HEADER
12 /* gd.h: declarations file for the graphic-draw module.
13  * Permission to use, copy, modify, and distribute this software and its
14  * documentation for any purpose and without fee is hereby granted, provided
15  * that the above copyright notice appear in all copies and that both that
16  * copyright notice and this permission notice appear in supporting
17  * documentation. This software is provided "AS IS." Thomas Boutell and
18  * Boutell.Com, Inc. disclaim all warranties, either express or implied,
19  * including but not limited to implied warranties of merchantability and
20  * fitness for a particular purpose, with respect to this code and accompanying
21  * documentation. */
22 
23 typedef struct {
24  /* # of characters in font */
25  int nchars;
26  /* First character is numbered... (usually 32 = space) */
27  int offset;
28  /* Character width and height */
29  int w;
30  int h;
31  /* Font data; array of characters, one row after another.
32  Easily included in code, also easily loaded from
33  data files. */
34  char *data;
35 } ossimGdFont;
36 
37 /* Text functions take these. */
39 
40 #endif
ossimGdFont * ossimGdFontPtr
Definition: ossimGdFont.h:38