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
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

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: simple shapes

You'll need to use OpenGL.

Please use plain text.
New Contributor
kunalbansal16
Posts: 9
Registered: ‎01-11-2013
My Device: simulator
My Carrier: vodafone

Re: simple shapes

thankyou
Please use plain text.
Developer
mmd12
Posts: 117
Registered: ‎03-13-2012
My Device: Playbook, Dev Alpha C, Q10, Z10
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.

Please use plain text.