Euphoria
Public Member Functions | Public Attributes | List of all members
eu::render::ListOfTextDrawCommands Struct Reference

Public Member Functions

void add (const Texture2d *texture, const Rect &sprite_rect, const Rect &texture_rect, bool hi)
 
void draw (SpriteBatch *renderer, const v2 &start_position, const Rgb &base_color, const Rgb &hi_color)
 
Rect get_extents () const
 

Public Attributes

std::vector< TextDrawCommandcommands
 

Detailed Description

Definition at line 75 of file font.h.

Member Function Documentation

◆ add()

void eu::render::ListOfTextDrawCommands::add ( const Texture2d texture,
const Rect sprite_rect,
const Rect texture_rect,
bool  hi 
)

◆ draw()

void eu::render::ListOfTextDrawCommands::draw ( SpriteBatch renderer,
const v2 start_position,
const Rgb base_color,
const Rgb hi_color 
)

◆ get_extents()

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

Member Data Documentation

◆ commands

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

Definition at line 77 of file font.h.


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