Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/text/dynamicTextPage.I

Go to the documentation of this file.
00001 // Filename: dynamicTextPage.I
00002 // Created by:  drose (09Feb02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: DynamicTextPage::get_x_size
00022 //       Access: Published
00023 //  Description: Returns the x size of the page (texture), in pixels.
00024 ////////////////////////////////////////////////////////////////////
00025 INLINE int DynamicTextPage::
00026 get_x_size() const {
00027   return _x_size;
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: DynamicTextPage::get_y_size
00032 //       Access: Published
00033 //  Description: Returns the y size of the page (texture), in pixels.
00034 ////////////////////////////////////////////////////////////////////
00035 INLINE int DynamicTextPage::
00036 get_y_size() const {
00037   return _y_size;
00038 }
00039 
00040 
00041 ////////////////////////////////////////////////////////////////////
00042 //     Function: DynamicTextPage::is_empty
00043 //       Access: Published
00044 //  Description: Returns true if the page has no glyphs, false
00045 //               otherwise.
00046 ////////////////////////////////////////////////////////////////////
00047 INLINE bool DynamicTextPage::
00048 is_empty() const {
00049   return _glyphs.empty();
00050 }

Generated on Fri May 2 00:44:16 2003 for Panda by doxygen1.3