Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9426] iOS: Access to coreGraphics API to draw directly on pixels

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterDavide Cassenti
AssigneeUnknown
Created2012-05-10T10:43:49.000+0000
Updated2018-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

  1. kosso 2012-05-31

    Also exposing/including CIImage and CIFilter would enable easy photo/video effects. I suppose all this could be done with a custom module too?
  2. Blain Hamon 2012-06-06

    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.
  3. Marian Kucharcik 2017-03-18

    Hi guys, is something new with this? Thank you

JSON Source