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
New Contributor
Posts: 9
Registered: ‎01-11-2013
My Device: simulator
My Carrier: vodafone

simple shapes

how to draw simple shapes like a line or a square.
Sorry if it was too simple but i am new to development enviornment

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: simple shapes

You'll need to use OpenGL.

New Contributor
Posts: 9
Registered: ‎01-11-2013
My Device: simulator
My Carrier: vodafone

Re: simple shapes

thankyou
Developer
Posts: 120
Registered: ‎03-13-2012
My Device: Playbook, Dev Alpha C, Q10, Z10, Z30
My Carrier: T-Mobile

Re: simple shapes

Another option if you want to avoid OpenGL is pixel by pixel mathematically.

 

It's not as difficult as it may sound.  There's an example in in the API Documents under Blits.