copy


Description:

public PixelFormat copy ()

Allocate a new VNC pixel format struct whose contents is initialized with the data found in srcFormat.

The struct must be released using vnc_pixel_format_free when no longer required.

Parameters:

this

the format to copy

Returns:

the new pixel format struct