Name
csurface:GetContent -- get content type
Synopsis
content = csurface:GetContent()
Function
This function returns the content type of the surface which indicates whether the surface contains color and/or alpha information. This can be one of the following constants:

#CAIRO_CONTENT_COLOR
The surface holds color content only.
#CAIRO_CONTENT_ALPHA
The surface holds alpha content only.
#CAIRO_CONTENT_COLOR_ALPHA
The surface holds color and alpha content.

Inputs
none

Results
content
the content type of the surface

Show TOC