openscenegraph
include
osgText
KerningType
Go to the documentation of this file.
1
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
2
*
3
* This library is open source and may be redistributed and/or modified under
4
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5
* (at your option) any later version. The full license is in LICENSE file
6
* included with this distribution, and on the openscenegraph.org website.
7
*
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* OpenSceneGraph Public License for more details.
12
*/
13
14
#ifndef OSGTEXT_KERNINGTYPE
15
#define OSGTEXT_KERNINGTYPE
16
17
namespace
osgText
18
{
19
20
typedef
std::pair< unsigned int, unsigned int >
FontResolution
;
21
22
enum
KerningType
23
{
24
KERNING_DEFAULT
,
//default locked to integer kerning values
25
KERNING_UNFITTED
,
//use floating point value for kerning
26
KERNING_NONE
//no kerning
27
};
28
29
}
30
#endif
/*OSGTEXT_KERNINGTYPE*/
osgText
osgText::FontResolution
std::pair< unsigned int, unsigned int > FontResolution
Definition
KerningType:20
osgText::KerningType
KerningType
Definition
KerningType:23
osgText::KERNING_NONE
@ KERNING_NONE
Definition
KerningType:26
osgText::KERNING_UNFITTED
@ KERNING_UNFITTED
Definition
KerningType:25
osgText::KERNING_DEFAULT
@ KERNING_DEFAULT
Definition
KerningType:24
Generated by
1.9.8