Class
LasemDomView
Description
abstract class Lasem.DomView : GObject.Object
{
document: LsmDomDocument*,
font_description: PangoFontDescription*,
pango_layout: PangoLayout*,
measure_pango_layout: PangoLayout*,
cairo: cairo_t*,
is_vector: gboolean,
resolution_ppi: double,
viewport_pt: LsmBox
}
No description available.
Instance methods
lsm_dom_view_get_size
Get the view size and baseline. Baseline is for use of view inside bloc of text.
lsm_dom_view_get_size_pixels
Get the view size and baseline. Baseline is for use of view inside bloc of text.
lsm_dom_view_set_document
Change the document attached to view
. The previously attached document is unreferenced.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct LasemDomViewClass {
GObjectClass parent_class;
GType document_type;
void (* measure) (
LsmDomView* view,
double* width,
double* height,
double* baseline
);
void (* render) (
LsmDomView* view
);
void (* set_debug) (
LsmDomView* view,
const char* feature,
gboolean enable
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
document_type: GType
No description available.
measure: void (* measure) ( LsmDomView* view, double* width, double* height, double* baseline )
No description available.
render: void (* render) ( LsmDomView* view )
No description available.
set_debug: void (* set_debug) ( LsmDomView* view, const char* feature, gboolean enable )
No description available.