Nugget
Loading...
Searching...
No Matches
Public Member Functions | List of all members
psyqo::Font< N > Class Template Reference

#include <psyqo/font.hh>

Inheritance diagram for psyqo::Font< N >:
Inheritance graph
[legend]
Collaboration diagram for psyqo::Font< N >:
Collaboration graph
[legend]

Public Member Functions

virtual ~Font ()
 
- Public Member Functions inherited from psyqo::FontBase
virtual ~FontBase ()
 
void uploadSystemFont (GPU &gpu, Vertex location={{.x=960,.y=464}})
 Uploads the system font to VRAM, and initializes the object.
 
void uploadKromFont (GPU &gpu, Vertex location={{.x=960,.y=422}})
 Uploads the Kernel rom font to VRAM, and initializes the object.
 
void initialize (GPU &gpu, Vertex location, Vertex glyphSize)
 Initializes the object for use.
 
void print (GPU &gpu, eastl::string_view text, Vertex pos, Color color)
 These method immediately print text to the screen.
 
void print (GPU &gpu, eastl::string_view text, Vertex pos, Color color, eastl::function< void()> &&callback, DMA::DmaCallback dmaCallback)
 
void print (GPU &gpu, const char *text, Vertex pos, Color color)
 
void print (GPU &gpu, const char *text, Vertex pos, Color color, eastl::function< void()> &&callback, DMA::DmaCallback dmaCallback)
 
void printf (GPU &gpu, Vertex pos, Color color, const char *format,...)
 
void printf (GPU &gpu, Vertex pos, Color color, eastl::function< void()> &&callback, DMA::DmaCallback dmaCallback, const char *format,...)
 
void vprintf (GPU &gpu, Vertex pos, Color color, const char *format, va_list ap)
 
void vprintf (GPU &gpu, Vertex pos, Color color, eastl::function< void()> &&callback, DMA::DmaCallback dmaCallback, const char *format, va_list ap)
 
void chainprint (GPU &gpu, eastl::string_view text, Vertex pos, Color color)
 These methods use the DMA chaining system to print text to the screen.
 
void chainprint (GPU &gpu, const char *text, Vertex pos, Color color)
 
void chainprintf (GPU &gpu, Vertex pos, Color color, const char *format,...)
 
void chainvprintf (GPU &gpu, Vertex pos, Color color, const char *format, va_list ap)
 

Additional Inherited Members

- Static Public Member Functions inherited from psyqo::FontBase
static void unpackFont (GPU &gpu, const uint8_t *data, Vertex location, Vertex textureSize)
 Unpacks and uploads a font to VRAM.
 
- Protected Types inherited from psyqo::FontBase
typedef Fragments::FixedFragmentWithPrologue< GlyphsFragmentPrologue, Prim::Sprite, 48 > GlyphsFragment
 
- Protected Member Functions inherited from psyqo::FontBase
void innerprint (GlyphsFragment *fragment, GPU &gpu, eastl::string_view text, Vertex pos, Color color)
 
void innerprint (GlyphsFragment *fragment, GPU &gpu, const char *text, Vertex pos, Color color)
 
void innervprintf (GlyphsFragment *fragment, GPU &gpu, Vertex pos, Color color, const char *format, va_list ap)
 

Constructor & Destructor Documentation

◆ ~Font()

template<size_t N>
virtual psyqo::Font< N >::~Font ( )
inlinevirtual

The documentation for this class was generated from the following file: