cairoPatternGetSurface {RGtk2} | R Documentation

## cairoPatternGetSurface

### Description

Gets the surface of a surface pattern.

### Usage

    cairoPatternGetSurface(pattern)

### Arguments

``pattern`` | [`CairoPattern`] a `CairoPattern`

### Details

Since 1.4

### Value

A list containing the following elements:

`retval` | [`CairoStatus`] `CAIRO_STATUS_SUCCESS`, or `CAIRO_STATUS_PATTERN_TYPE_MISMATCH` if the pattern is not a surface pattern.
``surface`` | [`CairoSurface`] return value for surface of pattern, or `NULL`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]