## FoDocCairo

FoDocCairo — Cairo backend

## Synopsis

                        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);

## Description

Cairo backend.

## Details

### FoDocCairo

    typedef struct _FoDocCairo FoDocCairo;

### FoDocCairoClass

    typedef struct _FoDocCairoClass FoDocCairoClass;

### fo_doc_cairo_new ()

    FoDoc*              fo_doc_cairo_new                    (void);

Creates a new FoDoc.

Returns : | the newly created FoDoc.

### fo_doc_cairo_open_file ()

    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.