Gets the surface of a surface pattern. The reference returned in surface is owned by the pattern; the caller should call cairo.surface.Surface.reference if the surface is to be retained.
return value for surface of pattern, or null
cairo.types.Status.Success, or cairo.types.Status.PatternTypeMismatch if the pattern is not a surface pattern.
Gets the surface of a surface pattern. The reference returned in surface is owned by the pattern; the caller should call cairo.surface.Surface.reference if the surface is to be retained.