Panda3D
 All Classes Functions Variables Enumerations
textGlyph.cxx
1 // Filename: textGlyph.cxx
2 // Created by: drose (08Feb02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "textGlyph.h"
16 
17 TypeHandle TextGlyph::_type_handle;
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: TextGlyph::Destructor
21 // Access: Public
22 // Description:
23 ////////////////////////////////////////////////////////////////////
24 TextGlyph::
25 ~TextGlyph() {
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: TextGlyph::is_whitespace
30 // Access: Public, Virtual
31 // Description: Returns true if this glyph represents invisible
32 // whitespace, or false if it corresponds to some
33 // visible character.
34 ////////////////////////////////////////////////////////////////////
35 bool TextGlyph::
36 is_whitespace() const {
37  // In a static font, there is no explicit glyph for whitespace, so
38  // all glyphs are non-whitespace.
39  return false;
40 }
virtual bool is_whitespace() const
Returns true if this glyph represents invisible whitespace, or false if it corresponds to some visibl...
Definition: textGlyph.cxx:36
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85