Euphoria
eu::render::ListOfTextDrawCommands Struct Reference

#include <font.h>

Public Member Functions

void add (const Texture2 *texture, const Rectf &sprite_rect, const Rectf &texture_rect, bool hi)
 
void draw (SpriteRenderer *renderer, const vec2f &start_position, const Rgb &base_color, const Rgb &hi_color)
 
Rectf get_extents () const
 

Public Attributes

std::vector< TextDrawCommandcommands
 

Detailed Description

Definition at line 83 of file font.h.

Member Function Documentation

◆ add()

void eu::render::ListOfTextDrawCommands::add ( const Texture2 texture,
const Rectf sprite_rect,
const Rectf texture_rect,
bool  hi 
)

Definition at line 335 of file font.cc.

◆ draw()

void eu::render::ListOfTextDrawCommands::draw ( SpriteRenderer renderer,
const vec2f start_position,
const Rgb base_color,
const Rgb hi_color 
)

Definition at line 348 of file font.cc.

◆ get_extents()

Rectf eu::render::ListOfTextDrawCommands::get_extents ( ) const

Definition at line 501 of file font.cc.

Member Data Documentation

◆ commands

std::vector<TextDrawCommand> eu::render::ListOfTextDrawCommands::commands

Definition at line 85 of file font.h.


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