[cairo-bugs] [Bug 5676] CAIROMM: Add bindings for more surface types

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 20 15:48:30 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5676          
     




------- Additional Comments From jonathon.jongsma at gmail.com  2006-01-21 10:44 -------
Created an attachment (id=4413)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=4413&action=view)
Patch to add new Surface Types

A couple things to note about this patch.  I added exception specifications for
all of the Surface API functions (i.e. functionname() throw(std::bad_alloc);). 
I don't know if this is controversial or not, but it seems like the right thing
to do to me.  Perhaps they should just specify the generic 'throw()' without
specifying which exceptions can be thrown?  I can rework it if people think
it's unnecessary.  

Also, I removed the status check from a couple of functions that (according to
my perusal of the cairo source code) don't seem to change the internal status
of the cairo object.

All Surface functions and classes have API documentation in doxygen.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list