Google

/*
 * Get the character index of the pixel at the given coordinates using
 * this font.
 *
 * Example:
 *   x, y, char_w, char_h = font.index "index\nstring\n", 5, 5
 *
 */
static VALUE font_text_index(int argc, VALUE *argv, VALUE self) {