def supports_mime_type(self, mime_type):
        """ Return whether surface supports :obj:`mime_type`.

        :param mime_type: The MIME type of the image data.
        :type mime_type: ASCII string

        *New in cairo 1.12.*

        """
        mime_type = ffi.new('char[]', mime_type.encode('utf8'))
        return bool(cairo.cairo_surface_supports_mime_type(
            self._pointer, mime_type))
def supports_mime_type ( self , mime_type ) : mime_type = ffi . new ( 'char[]' , mime_type . encode ( 'utf8' ) ) return bool ( cairo . cairo_surface_supports_mime_type ( self . _pointer , mime_type ) )
Return whether surface supports :obj:`mime_type`.

        :param mime_type: The MIME type of the image data.
        :type mime_type: ASCII string

        *New in cairo 1.12.*