[][src]Function mupdf_sys::fz_new_device_of_size

pub unsafe extern "C" fn fz_new_device_of_size(
    ctx: *mut fz_context,
    size: c_int
) -> *mut fz_device

Devices are created by calls to device implementations, for instance: foo_new_device(). These will be implemented by calling fz_new_derived_device(ctx, foo_device) where foo_device is a structure "derived from" fz_device, for instance typedef struct { fz_device base; ...extras...} foo_device;