recordingSurfaceGetExtents

fncairo.types.Bool recordingSurfaceGetExtents(cairo.surface.Surface surface, out cairo.types.Rectangle extents)

Get the extents of the recording-surface.

Parameters

surfacea #cairo_recording_surface_t
extentsthe #cairo_rectangle_t to be assigned the extents

Returns

true if the surface is bounded, of recording type, and

not in an error state, otherwise false