flipperzero_sys

Function elements_bubble_str

Source
pub unsafe extern "C" fn elements_bubble_str(
    canvas: *mut Canvas,
    x: i32,
    y: i32,
    text: *const c_char,
    horizontal: Align,
    vertical: Align,
)
Expand description

Draw bubble frame for text with corner

ยงArguments

  • canvas - Canvas instance
  • x - left x coordinates
  • y - top y coordinate
  • text - text to display
  • horizontal - horizontal aligning
  • vertical - aligning