Closed Binary-Finery closed 5 years ago
Hello Dean,
no it's not possible to draw lines with smartGL, but you can do this with the standard Android API. You could for example create a class (MystifyView?) which extends ImageView, and in the onDraw(Canvas) method call canvas.drawline(). Also put a
I think it's the simplest / fastest way to achieve what you want to do.
Arnaud.
Hi,
Thank you for your reply, great idea, I shall give it a go.
Regards, Dean.
On Sun, 13 May 2018, 10:04 pm Arnaud Guyon, notifications@github.com wrote:
Hello Dean,
no it's not possible to draw lines with smartGL, but you can do this with the standard Android API. You could for example create a class (MystifyView?) which extends ImageView, and in the onDraw(Canvas) method call canvas.drawline(). Also put a in the layout of your Activity or Fragment.
I think it's the simplest / fastest way to achieve what you want to do.
Arnaud.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/smart-fun/smartGL/issues/17#issuecomment-388655886, or mute the thread https://github.com/notifications/unsubscribe-auth/AO83GbguVUSjqpDZ0RRJ8kQ1CAsuzEzeks5tyJ_tgaJpZM4T5pLi .
Congratulations on this awesome library, is it possible to draw a line connecting two moving points ? I'd like to recreate the Windows mystify screen saver.
Thank you.