Top | ![]() |
![]() |
![]() |
![]() |
GQuark | fo_doc_error_quark () |
FoDoc * | fo_doc_new () |
FoDoc * | fo_doc_new_from_type () |
FoFlagsFormat | fo_doc_formats_from_name () |
void | fo_doc_open_file () |
FoLayout * | fo_doc_get_new_layout () |
const gchar * | fo_doc_get_language () |
void | fo_doc_set_language () |
FoEnumAreaDirection | fo_doc_get_base_dir () |
void | fo_doc_set_base_dir () |
FoDoc | |
FoDocClass | |
#define | FO_DOC_ERROR |
enum | FoDocError |
enum | FoDocLineCap |
enum | FoDocLineJoin |
FoDoc provides the primitives for writing text, lines, rectangles, etc., to the output.
It is generalised so that libfo can support multiple backend implementations (and add and remove backend implementations) without having to restructure the rest of libfo.
GQuark
fo_doc_error_quark (void
);
Get the error quark for FoDoc.
If the quark does not yet exist, create it.
FoFlagsFormat
fo_doc_formats_from_name (const gchar *name
);
Gets the output formats supported by name
class.
name
should not be NULL.
If name
does not implement any formats, returns
FO_FLAG_FORMAT_UNKNOWN.
void fo_doc_open_file (FoDoc *fo_doc
,const gchar *filename
,FoLibfoContext *libfo_context
,GError **error
);
No reference to libfo_context
is kept.
fo_doc |
FoDoc for which to open an output file. |
|
filename |
Name of output file. |
|
libfo_context |
FoLibfoContext containing extra info. |
|
error |
Information about any error that occurred. |
FoLayout *
fo_doc_get_new_layout (FoDoc *fo_doc
);
Get a new FoLayout for use with fo_doc
.
const gchar *
fo_doc_get_language (FoDoc *fo_doc
);
Get the language in fo_doc
.
void fo_doc_set_language (FoDoc *fo_doc
,const gchar *language
);
Set the language in fo_doc
.
FoEnumAreaDirection
fo_doc_get_base_dir (FoDoc *fo_doc
);
Get the FoEnumAreaDirection used as input to fo_doc
.
void fo_doc_set_base_dir (FoDoc *fo_doc
,FoEnumAreaDirection base_dir
);
Set the FoEnumAreaDirection in fo_doc
.