Curl Renderer
Actual renderer class for the GLSurfaceView implementation of a curl view. This class is based on https://github.com/harism/android-pagecurl
Parameters
determines whether perspective projection must be used or not.
Constructors
Types
Functions
Adds CurlMesh to this renderer.
Returns rect reserved for left or right page. Value page should be PAGE_LEFT or PAGE_RIGHT.
Inverse translates screen coordinates into view coordinates.
Inverse translates screen coordinates into view coordinates.
Draws curl meshes.
Called once surface is created.
Called once surface is created.
Removes CurlMesh from this renderer.
Sets actual screen pixel margins.
Sets proportional margins or padding. Note: margins are proportional. Meaning a value of 0.1f will produce a 10% margin
Sets visible page count to one or two. Should be either SHOW_ONE_PAGE or SHOW_TWO_PAGES.