#include <libxml/tree.h>
#include "cr-utils.h"
#include "cr-cascade.h"
#include "cr-box.h"
Go to the source code of this file.
Data Structures | |
struct | CRLayEng |
The abstraction of the Layout engine of libcroco. More... | |
Functions | |
void | cr_lay_eng_init (glong a_argc, gchar **a_argv) |
The first function to call prior to any other method of the layout engine. | |
CRLayEng * | cr_lay_eng_new (GtkLayout *a_layout) |
Instanciates a new Layout Engine. | |
enum CRStatus | cr_lay_eng_create_box_model (CRLayEng *a_this, xmlDoc *a_xml_doc, CRCascade *a_cascade, CRBoxModel **a_box_model) |
Creates the box model from an xml document. | |
enum CRStatus | cr_lay_eng_layout_box_tree (CRLayEng *a_this, CRBox *a_box_tree) |
Recursively computes the sizes and positions of each box in the box tree. | |
void | cr_lay_eng_destroy (CRLayEng *a_this) |
Destuctor of CRLayEng. | |
Variables | |
typedefG_BEGIN_DECLS struct _CRLayEngPriv | CRLayEngPriv |
Definition in file cr-lay-eng.h.
|
Creates the box model from an xml document.
Definition at line 1539 of file cr-lay-eng.c. References CR_BAD_PARAM_ERROR, cr_box_model_new(), CR_ERROR, CR_NO_ROOT_NODE_ERROR, CR_OK, and PRIVATE. Referenced by cr_box_view_new_from_xml_css_bufs(). |
|
Destuctor of CRLayEng.
Definition at line 1601 of file cr-lay-eng.c. |
|
The first function to call prior to any other method of the layout engine.
Definition at line 1473 of file cr-lay-eng.c. |
|
Recursively computes the sizes and positions of each box in the box tree.
Definition at line 1582 of file cr-lay-eng.c. References CR_BAD_PARAM_ERROR, CR_OK, and CRStatus. Referenced by cr_box_view_layout(). |
|
Instanciates a new Layout Engine. return the new instance of CRLayEng or NULL if an error occured. Definition at line 1490 of file cr-lay-eng.c. References cr_utils_trace_info, and PRIVATE. |
|
Definition at line 40 of file cr-lay-eng.h. |