![]() I'm also interested in using pdf.js and node.js for a new library that will convert pdf files into pure HTML5 (text/CSS3) files to provide content for the frontend with turn.js. Think about detecting the number of pages automatically, creating a table of contents that knows where every page is, and adding functions like font size. While loading pages with turn.js, this library would have an infinity potential. One of those will allow you to split HTML content into pages depending on the size of the pages. I look forward to releasing new projects. I'm Emmanuel García, a front-end developer from Venezuela, who loves to push the web forward with new technologies. This license doesn't include features of the 4th release. The turn.js project is released under the BSD license and it's available on GitHub. If you'd rather report issues using your email, you could contact us to: Licensing The complete documentation is available here, it's also available in PDF format. The turn.js API was conveniently built as an UI plugin for jQuery, it provides access to a set of features and allows you to define the user interaction. Hash.js - Controls the navigation history using pushState and URI hashes. Scissors.js - Cuts a page in two parts for turn.js. Zoom.js - The new zoom feature of turn.js, See a sample. ✓ The new DOM composition guarantees the same performance no matter the amount of pages.✓ Effects are now quite smoother on the browser platform.Turn.js 4 includes a set of significant performance improvements on its core. Safari 5 Chrome 16 Firefox 10 IE 10, 9, 8 Devices ✓ Works in old browsers such as IE 8 with.✓ Allows to load pages dynamically through Ajax requests.You can use enableAutoPage to enable auto page mode or disable it(equally enable single page mode). Single Page Mode: No matter screen is portait or landscape mode, PageFlip always use single page to show content.That means single page is used for portrait mode and double pages is used for lanscape mode. Auto Page Mode: In this mode, PageFlip will automatically decide to use single page or double pages to present content on screen.There are two page modes provided by PageFlip: For example: shadow color and alpha, mesh pixels and page mode. PageFlip library provides some configurations for customizing its behaviors. ![]() More details, please take a look PageFlipView in sample application. Please refer to PageFlipView in sample application. You may need a lock to avoid conflicts between main thread and OpenGL rendering thread. You may need a message handler to send/receive an drawing message. onSurfaceChanged: notify PageFlip object to handle surface changing event.onSurfaceCreated: notify PageFlip object to handle usreface creating event.onFingerUp: notify PageFlip object to determine whether or not launching a flip animation.onFingerMove: notify PageFlip object to compute data for drawing flip frame.onFingerDown: notify PageFlip object to prepare flip.Instanitiates a PageFlip object in the constructor of your surface viewĬonfigures PageFlip, For example: set animating duration, page mode or mesh pixels Find the highest rated Flipbook apps for Android pricing, reviews, free demos, trials, and more. Implements android Renderer interface to draw your content on a bitmap and set it as a texture of PageFlip Simple steps for introducing PageFlip into your projectĬreates a surface view class extending from GLSurfaceView The following versions have been tested on emulator: Android version
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |