// GENERATED — DO NOT EDIT

///|
#borrow(cr, text, glyph_item)
extern "c" fn moonbit_pango_cairo_show_glyph_item(
  cr : @cairo.Context,
  text : Bytes,
  glyph_item : @pango.GlyphItem,
) = "moonbit_pango_cairo_show_glyph_item"

///|
/// [Upstream documentation](https://docs.gtk.org/PangoCairo/func.show_glyph_item.html).
pub fn show_glyph_item(
  cr : @cairo.Context,
  text : String,
  glyph_item : @pango.GlyphItem,
) -> Unit {
  moonbit_pango_cairo_show_glyph_item(
    cr,
    @encoding/utf8.encode(text),
    glyph_item,
  )
}