Learn R Programming

RGtk2 (version 2.12.17)

cairo-cairo-surface-t: cairo_surface_t

Description

Base class for surfaces

Arguments

Methods and Functions

cairoSurfaceCreateSimilar(other, content, width, height) cairoSurfaceReference(surface) cairoSurfaceDestroy(surface) cairoSurfaceStatus(surface) cairoSurfaceFinish(surface) cairoSurfaceFlush(surface) cairoSurfaceGetFontOptions(surface) cairoSurfaceGetContent(surface) cairoSurfaceMarkDirty(surface) cairoSurfaceMarkDirtyRectangle(surface, x, y, width, height) cairoSurfaceSetDeviceOffset(surface, x.offset, y.offset) cairoSurfaceGetDeviceOffset(surface) cairoSurfaceSetFallbackResolution(surface, x.pixels.per.inch, y.pixels.per.inch) cairoSurfaceGetType(surface) cairoSurfaceSetUserData(surface, key, user.data) cairoSurfaceGetUserData(surface, key) cairoSurfaceCopyPage(surface) cairoSurfaceShowPage(surface) cairoSurface(width, height, format, other, content, data, stride, filename, con)

Detailed Description

CairoSurface is the abstract type representing all different drawing targets that cairo can render to. The actual drawings are performed using a cairo context. A cairo surface is created by using backend-specific constructors, typically of the form cairo_backendsurfaceCreate().

Convenient Construction

cairoSurface is the result of collapsing the constructors of cairo_surface_t (cairoSurfaceCreateSimilar, cairoImageSurfaceCreate, cairoImageSurfaceCreateForData, cairoImageSurfaceCreateFromPng, cairoImageSurfaceCreateFromPngStream) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.

References

http://www.cairographics.org/manual/cairo-cairo-surface-t.html