Constructor

GtkVncCairoFramebuffernew

Declaration [src]

VncCairoFramebuffer*
vnc_cairo_framebuffer_new (
  guint16 width,
  guint16 height,
  const VncPixelFormat* remoteFormat
)

Description [src]

Allocate a new framebuffer object which will render the remote desktop into a cairo image surface (width * height) in size.

Parameters

width guint16
 

The remote desktop width.

height guint16
 

The remote desktop height.

remoteFormat VncPixelFormat
 

The remote pixel format.

 The data is owned by the caller of the function.

Return value

Returns: VncCairoFramebuffer
 

The new frame buffer object.

 The caller of the function takes ownership of the data, and is responsible for freeing it.