|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTextureFont Class ReferenceCTextureFont.
More...
#include <texture_font.h>
Inheritance diagram for NL3D::CTextureFont
[legend]Collaboration diagram for NL3D::CTextureFont:
[legend]List of all members.
Detailed Description
CTextureFont.
Rq : _Width and _Height are duplicated from CBitmap because the texture can be released by the driver, which sets these values to zero. But these values are necessary to compute strings.
-
Author(s):
-
Stephane Coutelas , Nevrax France
-
Date:
-
2000
Definition at line 50 of file texture_font.h.
Constructor & Destructor Documentation
NL3D::CTextureFont::CTextureFont (
|
) [inline]
|
|
Member Function Documentation
NL3D::CTextureFont::NLMISC_DECLARE_CLASS (
|
CTextureFont )
|
|
void NL3D::CTextureFont::doGenerate (
|
) [virtual]
|
|
|
Generate the texture pixels.
If the invalidate rect list is empty, generate() must rebuild all the texture. If the invalidate rect list is not empty, generate() rebuilds only the invalidate rectangles in the list.
-
See also:
-
isAllInvalidated(), touch(), touched(), touchRect(), clearTouched(), _ListInvalidRect, generate() , getReleasable(), setReleasable()
Reimplemented from NL3D::ITexture.
Definition at line 41 of file texture_font.cpp. |
uint32 NL3D::CTextureFont::getCharHeight (
|
) const [inline]
|
|
uint32 NL3D::CTextureFont::getCharWidth (
|
) const [inline]
|
|
uint32 NL3D::CTextureFont::getHeight (
|
) const [inline]
|
|
uint32 NL3D::CTextureFont::getWidth (
|
) const [inline]
|
|
Member Data Documentation
sint32 NL3D::CTextureFont::AdvX
|
|
ucchar NL3D::CTextureFont::Char
|
|
uint32 NL3D::CTextureFont::GlyphIndex
|
|
|
number of the character in the this font.
Definition at line 143 of file texture_font.h. |
sint32 NL3D::CTextureFont::Left
|
|
|
Distance between origin and left of the texture.
Definition at line 147 of file texture_font.h. |
sint32 NL3D::CTextureFont::Top
|
|
|
Distance between origin and top of the texture.
Definition at line 145 of file texture_font.h. |
uint32 NL3D::CTextureFont::_CharHeight [private]
|
|
uint32 NL3D::CTextureFont::_CharWidth [private]
|
|
uint32 NL3D::CTextureFont::_Height [private]
|
|
uint32 NL3D::CTextureFont::_Size [private]
|
|
uint32 NL3D::CTextureFont::_Width [private]
|
|
The documentation for this class was generated from the following files:
|
|