#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.
<informalexample><programlisting>
if (cairo_in_stroke (cr, x, y)) {
/<!-- -->* do something *<!-- -->/
}
</programlisting></informalexample>
#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.
<informalexample><programlisting> if (cairo_in_stroke (cr, x, y)) { /<!-- -->* do something *<!-- -->/ } </programlisting></informalexample>