[cairo-bugs] [Bug 2765] How do we identify surface types?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 13 10:16:26 PST 2005


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=2765          
     




------- Additional Comments From kaffeetisch at gmx.de  2005-12-14 05:12 -------
>From my point of view (Perl bindings), an enum type

typedef enum {
  CAIRO_SURFACE_TYPE_XLIB,
  CAIRO_SURFACE_TYPE_PDF,
  ...
} CairoSurfaceType

and

CairoSurfaceType cairo_surface_get_type (cairo_surface_t *surface)

would suffice.

(And equivalent stuff for cairo_pattern_t, of course.)          
     
     
--           
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