Alias cairo_bool_t

cairo_bool_t is used for boolean values. Returns of type cairo_bool_t will always be either 0 or 1, but testing against these values explicitly is not encouraged; just use the value as a boolean condition.

Declaration

alias cairo_bool_t = int;

Examples

if (cairo_in_stroke (cr, x, y)) {
    //do something
}

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1