xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::Aurora::TTFFont::Page Struct Reference

A texture page filled with characters. More...

Collaboration diagram for Graphics::Aurora::TTFFont::Page:
Collaboration graph
[legend]

Public Member Functions

 Page ()
 
void rebuild ()
 

Public Attributes

Surfacesurface
 
TextureHandle texture
 
bool needRebuild
 
uint32 curX
 
uint32 curY
 
uint32 heightLeft
 
uint32 widthLeft
 

Detailed Description

A texture page filled with characters.

Definition at line 65 of file ttffont.h.

Constructor & Destructor Documentation

◆ Page()

Graphics::Aurora::TTFFont::Page::Page ( )

Definition at line 49 of file ttffont.cpp.

References Graphics::Aurora::Texture::create(), Graphics::Surface::fill(), kPageHeight, kPageWidth, surface, texture, and TextureMan.

Here is the call graph for this function:

Member Function Documentation

◆ rebuild()

void Graphics::Aurora::TTFFont::Page::rebuild ( )

Definition at line 58 of file ttffont.cpp.

Member Data Documentation

◆ curX

uint32 Graphics::Aurora::TTFFont::Page::curX

Definition at line 71 of file ttffont.h.

Referenced by Graphics::Aurora::TTFFont::addChar().

◆ curY

uint32 Graphics::Aurora::TTFFont::Page::curY

Definition at line 72 of file ttffont.h.

Referenced by Graphics::Aurora::TTFFont::addChar().

◆ heightLeft

uint32 Graphics::Aurora::TTFFont::Page::heightLeft

Definition at line 74 of file ttffont.h.

◆ needRebuild

bool Graphics::Aurora::TTFFont::Page::needRebuild

Definition at line 69 of file ttffont.h.

◆ surface

Surface* Graphics::Aurora::TTFFont::Page::surface

Definition at line 66 of file ttffont.h.

Referenced by Page().

◆ texture

TextureHandle Graphics::Aurora::TTFFont::Page::texture

Definition at line 67 of file ttffont.h.

Referenced by Page().

◆ widthLeft

uint32 Graphics::Aurora::TTFFont::Page::widthLeft

Definition at line 75 of file ttffont.h.


The documentation for this struct was generated from the following files: