[android-developers] Drawing 2D

2012-02-29 Thread Анастасия Сергеевна
Hello. I want creates shapes(rectangle, oval, square, etc) in runtime. Also I want drag and drop shapes that I create. My question is: may I for my goals create one class named, for example, Shape extended View and simply provide different constructors for each kind of shape or I must create

Re: [android-developers] drawing 2D - vector based paths arcs etc

2010-12-09 Thread Kostya Vasilyev
Canvas.drawPath: http://developer.android.com/reference/android/graphics/Canvas.html Path: http://developer.android.com/reference/android/graphics/Path.html addArc, arcTo, etc. -- Kostya 09.12.2010 13:34, dashman пишет: i'd like to get some info on how to draw vector based paths, arcs and o

[android-developers] drawing 2D - vector based paths arcs etc

2010-12-09 Thread dashman
i'd like to get some info on how to draw vector based paths, arcs and other shapes. can someone point me in the right direction. thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Drawing 2D stuff on the screen in OpenGL over a 3D scene

2010-06-27 Thread Navigateur
Can somebody take me step-by-step how to draw 2D stuff over a 3D scene (such as controls, etc.). What I've been doing so far has not been working (it only draws the 3D scene), which is (in every frame): draw the 3D scene as normal, projection matrix mode, load identity, call GLU.gluOrtho2D(gl, 0, m