pub unsafe extern "C" fn fz_new_document_of_size(
    ctx: *mut fz_context,
    size: c_int
) -> *mut c_void
Expand description

New documents are typically created by calls like foo_new_document(fz_context *ctx, …). These work by deriving a new document type from fz_document, for instance: typedef struct { fz_document base; …extras… } foo_document; These are allocated by calling fz_new_derived_document(ctx, foo_document)