[cairo-commit] cairomm/cairomm .cvsignore, 1.1.1.1, 1.2 surface.cc,
1.8, 1.9 surface.h, 1.6, 1.7
Murray Cumming
commit at pdx.freedesktop.org
Sat Jan 28 21:00:34 PST 2006
- Previous message: [cairo-commit] cairomm .cvsignore,1.1.1.1,1.2 ChangeLog,1.19,1.20
- Next message: [cairo-commit] cairo-perl Cairo.pm, 1.8, 1.9 CairoPattern.xs, 1.5,
1.6 ChangeLog, 1.15, 1.16 Makefile.PL, 1.11, 1.12 cairo-perl.h,
1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: murrayc
Update of /cvs/cairo/cairomm/cairomm
In directory gabe:/tmp/cvs-serv14829/cairomm
Modified Files:
.cvsignore surface.cc surface.h
Log Message:
2006-01-27 Jonathon Jongsma <jonathon.jongsma at gmail.com>
* .cvsignore:
* cairomm/.cvsignore: update .cvsignore files
* cairomm/surface.cc:
* cairomm/surface.h: change Surface::create function to take a
RefPtr<Surface> instead of Surface&
Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/.cvsignore,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- .cvsignore 2 Dec 2005 13:34:41 -0000 1.1.1.1
+++ .cvsignore 29 Jan 2006 05:00:31 -0000 1.2
@@ -1,2 +1,6 @@
Makefile.in
Makefile
+*.lo
+*.la
+.deps
+.libs
Index: surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/surface.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- surface.cc 24 Jan 2006 11:48:42 -0000 1.8
+++ surface.cc 29 Jan 2006 05:00:31 -0000 1.9
@@ -99,9 +99,9 @@
cairo_surface_destroy(m_cobject);
}
-RefPtr<Surface> Surface::create(const Surface& other, Content content, int width, int height)
+RefPtr<Surface> Surface::create(const RefPtr<Surface> other, Content content, int width, int height)
{
- cairo_surface_t* cobject = cairo_surface_create_similar(other.m_cobject, (cairo_content_t)content, width, height);
+ cairo_surface_t* cobject = cairo_surface_create_similar(other->m_cobject, (cairo_content_t)content, width, height);
check_status_and_throw_exception(cairo_surface_status(cobject));
return RefPtr<Surface>(new Surface(cobject, true /* has reference */));
}
Index: surface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/surface.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- surface.h 24 Jan 2006 11:48:42 -0000 1.6
+++ surface.h 29 Jan 2006 05:00:31 -0000 1.7
@@ -193,7 +193,7 @@
* @param height height of the new surface (in device-space units)
* @return a RefPtr to the newly allocated surface.
*/
- static RefPtr<Surface> create(const Surface& other, Content content, int width, int height);
+ static RefPtr<Surface> create(const RefPtr<Surface> other, Content content, int width, int height);
protected:
/** The underlying C cairo surface type that is wrapped by this Surface
- Previous message: [cairo-commit] cairomm .cvsignore,1.1.1.1,1.2 ChangeLog,1.19,1.20
- Next message: [cairo-commit] cairo-perl Cairo.pm, 1.8, 1.9 CairoPattern.xs, 1.5,
1.6 ChangeLog, 1.15, 1.16 Makefile.PL, 1.11, 1.12 cairo-perl.h,
1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list