Enum 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.
The enum base type is
int
.
Enum members
Name | Description |
---|---|
CAIRO_CONTENT_ALPHA
|
The surface will hold alpha content only. |
CAIRO_CONTENT_COLOR
|
The surface will hold color content only. |
CAIRO_CONTENT_COLOR_ALPHA
|
The surface will hold color and alpha content. |
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.
Authors
Johannes Pfau | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |