Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Posts: 27
Registered: ‎04-20-2012
My Device: non-BlackBerry user

how to draw the shapes in cascades

I wanted to implemente an apllication which deals with drawing lines and polygons. I wanted to achieve this using cascades application. Is there any sample which demonstrates this feature. Thank you for your attention

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: how to draw the shapes in cascades

Cascades itself currently has no vector graphics drawing routines like that, though they're considering it for the future.

For now, options include using the QPainter stuff from Qt, and OpenGL through a ForeignWindowControl. The forum search feature should show you various past threads on those topics with more detail.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Contributor
Posts: 27
Registered: ‎04-20-2012
My Device: non-BlackBerry user

Re: how to draw the shapes in cascades

Thanks for your reply. I will find an alternative for this.