Top | ![]() |
![]() |
![]() |
![]() |
double | lsm_dom_view_get_resolution () |
LsmBox | lsm_dom_view_get_viewport () |
LsmBox | lsm_dom_view_get_viewport_pixels () |
void | lsm_dom_view_set_resolution () |
void | lsm_dom_view_set_viewport () |
void | lsm_dom_view_set_viewport_pixels () |
void | lsm_dom_view_render () |
void | lsm_dom_view_get_size () |
void | lsm_dom_view_get_size_pixels () |
void | lsm_dom_view_set_debug () |
void lsm_dom_view_set_resolution (LsmDomView *self
,double ppi
);
Set the view resolution, in pixel per inch.
void lsm_dom_view_set_viewport (LsmDomView *self
,const LsmBox *viewport_pt
);
Set the viewport size.
void lsm_dom_view_set_viewport_pixels (LsmDomView *self
,const LsmBox *viewport
);
Set the viewport size.
void lsm_dom_view_render (LsmDomView *view
,cairo_t *cairo
,double x
,double y
);
Render view
in the cairo
context.
void lsm_dom_view_get_size (LsmDomView *view
,double *width
,double *height
,double *baseline
);
Get the view size and baseline. Baseline is for use of view inside bloc of text.
void lsm_dom_view_get_size_pixels (LsmDomView *view
,unsigned int *width
,unsigned int *height
,unsigned int *baseline
);
Get the view size and baseline. Baseline is for use of view inside bloc of text.
void lsm_dom_view_set_debug (LsmDomView *view
,const char *feature
,gboolean enable
);
Configure feature debug.