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
kunalbansal16
Posts: 9
Registered: ‎01-11-2013
My Device: simulator

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
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook

Re: simple shapes

You'll need to use OpenGL.

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

Re: simple shapes

thankyou
Developer
mmd12
Posts: 117
Registered: ‎03-13-2012
My Device: Playbook, Dev Alpha C, Q10, Z10

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.