[TIMOB-9426] iOS: Access to coreGraphics API to draw directly on pixels
GitHub Issue | n/a |
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Davide Cassenti |
Assignee | Unknown |
Created | 2012-05-10T10:43:49.000+0000 |
Updated | 2018-02-28T20:04:03.000+0000 |
Description
Request description
Customer wants to draw simple shapes and color. Currently, drawing a line can only be achieved by inserting a Canvas in a Webview, creating a View with 1px height or loading an image of a line.
The customer suggests to expose the coreGraphics API to javascript, so that it is possible to draw directly on the screen. One possible implementation could be the use of a dedicated Ti.Canvas view or space, with associated methods and properties such as drawLine, drawSquare, fillRect, etc... similar to html canvas.
Comments
JSON Source
Also exposing/including CIImage and CIFilter would enable easy photo/video effects. I suppose all this could be done with a custom module too?
Very much so, Kosso. Putting everything into the core of Titanium doesn't scale anywhere as well as having CIImage and CIFilter and other such tools in the module marketplace.
Hi guys, is something new with this? Thank you