third_party/cairo/src/cairo-raster-source-pattern.c
cairo_raster_source_snapshot_func_t
cairo_raster_source_pattern_get_snapshot (cairo_pattern_t *abstract_pattern)
{
    cairo_raster_source_pattern_t *pattern;

    if (abstract_pattern->type != CAIRO_PATTERN_TYPE_RASTER_SOURCE)
	return NULL;

    pattern = (cairo_raster_source_pattern_t *) abstract_pattern;
    return pattern->snapshot;
}
/**
 * cairo_raster_source_pattern_get_snapshot:
 * @pattern: the pattern to query
 *
 * Queries the current snapshot callback.
 *
 * Return value: the current snapshot callback
 *
 * Since: 1.12
 **/
@pattern: the pattern to query

Queries the current snapshot callback.

Return value: the current snapshot callback


@pattern : the pattern to query Queries the current snapshot callback . Return value : the current snapshot callback
cairo_raster_source_snapshot_func_t
cairo_raster_source_pattern_get_snapshot (cairo_pattern_t *abstract_pattern)
{
    cairo_raster_source_pattern_t *pattern;
    if (abstract_pattern->type != CAIRO_PATTERN_TYPE_RASTER_SOURCE)
	return NULL;
    pattern = (cairo_raster_source_pattern_t *) abstract_pattern;
    return pattern->snapshot;
}
cairo_raster_source_snapshot_func_t cairo_raster_source_pattern_get_snapshot ( cairo_pattern_t * abstract_pattern ) { cairo_raster_source_pattern_t * pattern ; if ( abstract_pattern -> type != CAIRO_PATTERN_TYPE_RASTER_SOURCE ) return NULL ; pattern = ( cairo_raster_source_pattern_t * ) abstract_pattern ; return pattern -> snapshot ; }
cairo_raster_source_pattern_get_snapshot:
 @pattern: the pattern to query
cairo_raster_source_pattern_get_snapshot : @pattern : the pattern to query