gchar * get_free_text_callout_line (PopplerAnnotFreeText *poppler_annot) { PopplerAnnotCalloutLine *callout; gchar *text; if ((callout = poppler_annot_free_text_get_callout_line (poppler_annot))) { text = g_strdup_printf ("%f,%f,%f,%f", callout->x1, callout->y1, callout->x2, callout->y2); if (callout->multiline) text = g_strdup_printf ("%s,%f,%f", text, callout->x3, callout->y3); return text; } return NULL; }
static VALUE rg_callout_line(VALUE self) { return POPPLERANNOTCALLOUTLINE2RVAL(poppler_annot_free_text_get_callout_line(SELF(self))); }
static VALUE annot_free_text_get_callout_line(VALUE self) { return LINE2RVAL(poppler_annot_free_text_get_callout_line(SELF(self))); }