cairo_content_t

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

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.

Values

ValueMeaning
Color4096

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

Alpha8192

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

ColorAlpha12288

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