Patrick Ruzand, IBMApril, 4th, 2012GFX: After, next, later                          © 2011 IBM Corporation
GFX: After, next, laterAgenda What’s new in 1.7 and 1.8 What’s next (1.9, 2.0) What’s later (2.+) Conclusion2         ...
GFX: After, next, laterReminder: What’s new in 1.7 Input Events      – Canvas support (mostly for Android 2.x devices)   ...
GFX: After, next, laterWhat’s planned in 1.8 Clipping API   – New method: Shape.setClip(clipGeometry)   – Possible geomet...
GFX: After, next, laterWhat’s planned in 1.8 Canvas specific extension   – Pixel access API (CanvasPixelArray and ImageDa...
GFX: After, next, laterWhat’s next: 2.0+ 1.8 leftover Improve serialization    – dojoAttachPoint: : contract between the...
GFX: After, next, laterQuestions                                 Q&AContact: patrick.ruzand@fr.ibm.com7                   ...
Upcoming SlideShare
Loading in …5
×

dojox.gfx: what's next, after, later

959 views
804 views

Published on

The dojox.gfx roadmap.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
959
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

dojox.gfx: what's next, after, later

  1. 1. Patrick Ruzand, IBMApril, 4th, 2012GFX: After, next, later © 2011 IBM Corporation
  2. 2. GFX: After, next, laterAgenda What’s new in 1.7 and 1.8 What’s next (1.9, 2.0) What’s later (2.+) Conclusion2 © 2011 IBM Corporation
  3. 3. GFX: After, next, laterReminder: What’s new in 1.7 Input Events – Canvas support (mostly for Android 2.x devices) – Targeted shape accessible from event: evt.gfxTarget Matrix new APIs: – matrix.multiplyRectangle – matrix.isIdentity Shape UID – Shapes identified via a UID: Shape.getUID() – Internal registry a la dijit: gfx.shape.byId() – Note: when a shape is not needed anymore: gfx.shape.dispose(shape) ! (improved in 1.8)3 © 2011 IBM Corporation
  4. 4. GFX: After, next, laterWhat’s planned in 1.8 Clipping API – New method: Shape.setClip(clipGeometry) – Possible geometries: • Rectangular: {x,y,width,height} • Ellipse: {cx, cy, rx, ry} • Polyline: {points} • Path: {d} Destructor API – Free resources when shape to be destroyed – Shape.destroy() – Group.clear(/*Boolean*/ dispose) SVG specific extension – Rendering option: • shape.addRenderingOption(“shape-rendering”, “optimizeSpeed”); – Defs • Shared resources (gradients) – SVG Filters (?)4 © 2011 IBM Corporation
  5. 5. GFX: After, next, laterWhat’s planned in 1.8 Canvas specific extension – Pixel access API (CanvasPixelArray and ImageData) – Surface.getImageData() – Surface.render(context) + aspect.before/after = pre/post-processing Shared styles across multiple gfx shapes (?)5 © 2011 IBM Corporation
  6. 6. GFX: After, next, laterWhat’s next: 2.0+ 1.8 leftover Improve serialization – dojoAttachPoint: : contract between the logic and the graphic {children:[ { dojoAttachPoint:‘background’; container.background.connect(…) shape: { type:’rect’} }, ... ]} – Custom properties gfx layout – Prerequesite: • Text.getBoundingBox() • Bbox caching • Bbox changed notification WebGL renderer experimentation (which use cases, if any…)6 © 2011 IBM Corporation
  7. 7. GFX: After, next, laterQuestions Q&AContact: patrick.ruzand@fr.ibm.com7 © 2011 IBM Corporation

×