[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] goocanvas ChangeLog,1.51,1.52
From:       Damon Chaplin <commit () pdx ! freedesktop ! org>
Date:       2006-08-31 15:45:11
Message-ID: 20060831154511.ADC329E7A9 () gabe ! freedesktop ! org
[Download RAW message or body]

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@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@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@gnome.org>
 
 	* src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_update) 

_______________________________________________
cairo-commit mailing list
cairo-commit@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic