Esempio n. 1
0
    private void doLoading()
    {
        bookHandle = bookEngine.BEIDocViewCreate(loadingName);
        Debug.Log("Book Handle" + bookHandle);
        bookEngine.BEILoadDocument(bookHandle, loadingName, rx, ry);

        bookEngine.BEIPrepareCover(bookHandle, rx, ry);

        loading = false;
    }
Esempio n. 2
0
    int BookEngineInterface.BEIPrepareCover(IntPtr handle, int width, int height)
    {
        int result = 0;

        switch (format)
        {
        case BookFormat.coolreader:
            result = cri.BEIPrepareCover(handle, width, height);
            break;

        case BookFormat.poppler:
            result = pop.BEIPrepareCover(handle, width, height);
            break;
        }
        return(result);
    }