[cairo-commit] goocanvas ChangeLog,1.51,1.52

Damon Chaplin commit at pdx.freedesktop.org
Thu Aug 31 08:45:11 PDT 2006


Committed by: damon

Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv3560

Modified Files:
	ChangeLog 
Log Message:
2006-08-31  Damon Chaplin  <damon at gnome.org>

	* src/goocanvasview.c: added "units", "resolution-x" & "resolution-y"
	properties so we can support points, inches and millimeters being used
	for item units as well as just pixels. Thus you can create a complete
	WYSIWYG printable document. But note that you must use absolute units
	for font sizes, i.e. use "px" after the size in any font description
	strings, e.g. "Sans 10px".  That stops us scaling fonts twice.
	(goo_canvas_view_set_default_line_width): set a reasonable default
	line width according to the current units.

	* demo/units-demo.c: new demo showing different units in use.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- ChangeLog	30 Aug 2006 12:18:47 -0000	1.51
+++ ChangeLog	31 Aug 2006 15:45:09 -0000	1.52
@@ -1,3 +1,16 @@
+2006-08-31  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvasview.c: added "units", "resolution-x" & "resolution-y"
+	properties so we can support points, inches and millimeters being used
+	for item units as well as just pixels. Thus you can create a complete
+	WYSIWYG printable document. But note that you must use absolute units
+	for font sizes, i.e. use "px" after the size in any font description
+	strings, e.g. "Sans 10px".  That stops us scaling fonts twice.
+	(goo_canvas_view_set_default_line_width): set a reasonable default
+	line width according to the current units.
+
+	* demo/units-demo.c: new demo showing different units in use.
+
 2006-08-30  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update) 



More information about the cairo-commit mailing list