pub fn add_character(c: char, x: f32, y: f32, sx: f32, sy: f32) -> i32
Expand description

Adds a character to the current frame.

Arguments

  • c - A char representing the character to add.
  • x - A f32 representing the x-coordinate of the starting point of the character.
  • y - A f32 representing the y-coordinate of the starting point of the character.
  • sx - A f32 representing the x-scale of the character.
  • sy - A f32 representing the y-scale of the character.

Returns

An i32 representing the width of the character.