#cairo_content_t is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs. opacity), or both.

cairo_content_t

Format

An object of class list of length 3.

Details

Note: The large values here are designed to keep #cairo_content_t values distinct from #cairo_format_t values so that the implementation can detect the error if users confuse the two types.

Since: 1.0

CAIRO_CONTENT_COLOR

The surface will hold color content only. (Since 1.0)

CAIRO_CONTENT_ALPHA

The surface will hold alpha content only. (Since 1.0)

CAIRO_CONTENT_COLOR_ALPHA

The surface will hold color and alpha content. (Since 1.0)

See also