[cairo-commit] cairomm ChangeLog,1.68,1.69

Murray Cumming commit at pdx.freedesktop.org
Wed Jul 5 08:17:22 PDT 2006


Committed by: murrayc

Update of /cvs/cairo/cairomm
In directory kemper:/tmp/cvs-serv26002

Modified Files:
	ChangeLog 
Log Message:
2006-07-05  Murray Cumming  <murrayc at murrayc.com>

        * cairomm/scaledfont.cc:
        * cairomm/scaledfont.h: create(): Make the font_matrix and ctm
        parameters const (they are now const in the C API too). Maybe the font
        parameter should be const, but maybe there is a reason that it is not
        const in the C API. Pass FontOptions by const reference instead of
        by value.
        glyph_extents(): Pass the vector by const reference instead of by
        value.
        I would prefere to make all the extents() functions use return values
        instead of output parameters, but I suppose this might be slightly
        less efficient in some circumstances.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairomm/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- ChangeLog	5 Jul 2006 14:59:12 -0000	1.68
+++ ChangeLog	5 Jul 2006 15:17:21 -0000	1.69
@@ -1,5 +1,19 @@
 2006-07-05  Murray Cumming  <murrayc at murrayc.com>
 
+	* cairomm/scaledfont.cc:
+	* cairomm/scaledfont.h: create(): Make the font_matrix and ctm 
+	parameters const (they are now const in the C API too). Maybe the font 
+	parameter should be const, but maybe there is a reason that it is not 
+	const in the C API. Pass FontOptions by const reference instead of 
+	by value.
+	glyph_extents(): Pass the vector by const reference instead of by 
+	value.
+	I would prefere to make all the extents() functions use return values 
+	instead of output parameters, but I suppose this might be slightly 
+	less efficient in some circumstances.
+
+2006-07-05  Murray Cumming  <murrayc at murrayc.com>
+
 	* cairomm/cairomm.h:
 	* cairomm/context.h:
 	* cairomm/path.h:



More information about the cairo-commit mailing list