pub unsafe extern "C" fn elements_text_box(
    canvas: *mut Canvas,
    x: u8,
    y: u8,
    width: u8,
    height: u8,
    horizontal: Align,
    vertical: Align,
    text: *const i8,
    strip_to_dots: bool
)
Expand description

Draw text box element

@param canvas Canvas instance @param x x coordinate @param y y coordinate @param width width to fit text @param height height to fit text @param horizontal Align instance @param vertical Align instance @param[in] text Formatted text. The following formats are available: “\e#Bold text\e#” - bold font is used “\eMonospaced text\e” - monospaced font is used “\e!Inversed text\e!” - white text on black background @param strip_to_dots Strip text to … if does not fit to width