pub unsafe extern "C" fn elements_bubble_str(
    canvas: *mut Canvas,
    x: u8,
    y: u8,
    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
  • width - bubble width
  • height - bubble height
  • horizontal - horizontal aligning
  • vertical - aligning