id = csurface:AddOutline(parent_id, name$, link$, flags)
name$ that links to the location specified by link$. Link
attributes have the same keys and values as the link tag,
excluding the rect attribute. The item will be a child of the
item with id parent_id. Use #CAIRO_PDF_OUTLINE_ROOT as the parent
id of top level items. The flags parameter can be set to a combination
of the following flags:
#CAIRO_PDF_OUTLINE_FLAG_OPEN#CAIRO_PDF_OUTLINE_FLAG_BOLD#CAIRO_PDF_OUTLINE_FLAG_ITALICThis function returns the id for the added item.
#CAIRO_PDF_OUTLINE_ROOT if this is a top level item