[lasem] [SVG] s/lsm_dom_view_get_size_px/lsm_dom_view_get_size_pixels/



commit ff7a3e5a965f00b27f369576b3de825ce417c3bf
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date:   Mon May 11 21:40:58 2009 +0200

    [SVG] s/lsm_dom_view_get_size_px/lsm_dom_view_get_size_pixels/
---
 src/lasemrender.c |    2 +-
 src/lasemtest.c   |    2 +-
 src/lsmdomview.c  |    2 +-
 src/lsmdomview.h  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lasemrender.c b/src/lasemrender.c
index b4b733d..32c89ab 100644
--- a/src/lasemrender.c
+++ b/src/lasemrender.c
@@ -199,7 +199,7 @@ int main(int argc, char **argv)
 				height_pt = 2.0;
 
 				lsm_dom_view_get_size (view, &width_pt, &height_pt);
-				lsm_dom_view_get_size_px (view, &width, &height);
+				lsm_dom_view_get_size_pixels (view, &width, &height);
 
 				switch (format) {
 					case FORMAT_PDF:
diff --git a/src/lasemtest.c b/src/lasemtest.c
index 689ba57..b7760e4 100644
--- a/src/lasemtest.c
+++ b/src/lasemtest.c
@@ -123,7 +123,7 @@ lasem_test_render (char const *filename)
 
 		lsm_dom_document_set_viewport_px (document, 480.0, 360.0);
 		lsm_dom_document_set_resolution (document, option_ppi);
-		lsm_dom_view_get_size_px (LSM_DOM_VIEW (view), &width, &height);
+		lsm_dom_view_get_size_pixels (LSM_DOM_VIEW (view), &width, &height);
 
 		surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width + 2, height + 2);
 		cairo = cairo_create (surface);
diff --git a/src/lsmdomview.c b/src/lsmdomview.c
index 2a80075..1b7cbb1 100644
--- a/src/lsmdomview.c
+++ b/src/lsmdomview.c
@@ -46,7 +46,7 @@ lsm_dom_view_get_size (LsmDomView *view, double *width, double *height)
 }
 
 void
-lsm_dom_view_get_size_px (LsmDomView *view, unsigned int *width, unsigned int *height)
+lsm_dom_view_get_size_pixels (LsmDomView *view, unsigned int *width, unsigned int *height)
 {
 	double resolution_ppi;
 	double width_pt;
diff --git a/src/lsmdomview.h b/src/lsmdomview.h
index dce3d6f..39af58f 100644
--- a/src/lsmdomview.h
+++ b/src/lsmdomview.h
@@ -64,7 +64,7 @@ GType lsm_dom_view_get_type (void);
 
 void 			lsm_dom_view_render 		(LsmDomView *view, double x, double y);
 void			lsm_dom_view_get_size		(LsmDomView *view, double *width, double *height);
-void 			lsm_dom_view_get_size_px 	(LsmDomView *view, unsigned int *width, unsigned int *height);
+void 			lsm_dom_view_get_size_pixels 	(LsmDomView *view, unsigned int *width, unsigned int *height);
 
 void 			lsm_dom_view_set_document 	(LsmDomView *view, LsmDomDocument *document);
 void			lsm_dom_view_set_cairo 		(LsmDomView *view, cairo_t *cr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]