third_party/cairo/src/cairo-stroke-style.c
cairo_bool_t
_cairo_stroke_style_dash_can_approximate (const cairo_stroke_style_t *style,
					  const cairo_matrix_t *ctm,
					  double tolerance)
{
    double period;

    if (! style->num_dashes)
        return FALSE;

    period = _cairo_stroke_style_dash_period (style);
    return _cairo_matrix_transformed_circle_major_axis (ctm, period) < tolerance;
}
/*
 * Verifies if _cairo_stroke_style_dash_approximate should be used to generate
 * an approximation of the dash pattern in the specified style, when used for
 * stroking a path with the given CTM and tolerance.
 * Always %FALSE for non-dashed styles.
 */
Verifies if _cairo_stroke_style_dash_approximate should be used to generate
an approximation of the dash pattern in the specified style, when used for
stroking a path with the given CTM and tolerance.
Always %FALSE for non-dashed styles.
Verifies if _cairo_stroke_style_dash_approximate should be used to generate an approximation of the dash pattern in the specified style when used for stroking a path with the given CTM and tolerance . Always %FALSE for non - dashed styles .
cairo_bool_t
_cairo_stroke_style_dash_can_approximate (const cairo_stroke_style_t *style,
					  const cairo_matrix_t *ctm,
					  double tolerance)
{
    double period;
    if (! style->num_dashes)
        return FALSE;
    period = _cairo_stroke_style_dash_period (style);
    return _cairo_matrix_transformed_circle_major_axis (ctm, period) < tolerance;
}
cairo_bool_t _cairo_stroke_style_dash_can_approximate ( const cairo_stroke_style_t * style , const cairo_matrix_t * ctm , double tolerance ) { double period ; if ( ! style -> num_dashes ) return FALSE ; period = _cairo_stroke_style_dash_period ( style ) ; return _cairo_matrix_transformed_circle_major_axis ( ctm , period ) < tolerance ; }
Verifies if _cairo_stroke_style_dash_approximate should be used to generate
 an approximation of the dash pattern in the specified style, when used for
 stroking a path with the given CTM and tolerance.
Verifies if _cairo_stroke_style_dash_approximate should be used to generate an approximation of the dash pattern in the specified style when used for stroking a path with the given CTM and tolerance .