|  |  |  | xmlroff Reference Manual |  | 
|---|---|---|---|---|
            FoDocCairo;
            FoDocCairoClass;
FoDoc*      fo_doc_cairo_new                (void);
void        fo_doc_cairo_open_file          (FoDoc *fo_doc,
                                             const gchar *filename,
                                             FoLibfoContext *libfo_context,
                                             GError **error);
FoDoc* fo_doc_cairo_new (void);
Creates a new FoDoc.
| Returns : | the newly created FoDoc. | 
void fo_doc_cairo_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error);
Open filename as the output file for fo_doc.
No reference to libfo_context is kept.
| fo_doc: | FoDoc. | 
| filename: | File to open as output. | 
| libfo_context: | FoLibfoContext specifying file format. | 
| error: | GError that is set if an error occurs. |