0 Replies - 438 Views - Last Post: 10 October 2020 - 09:25 AM

#1 Jordy2254   User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 65
  • Joined: 18-October 14

[Android] 2d rendering

Posted 10 October 2020 - 09:25 AM

Hello fellow coders,
I'm currently starting work on an application where I need to do some basic 2d rendering. The approach I'd normally use on desktop doesn't translate very well so I'm wanting to know the real way of doing it for an android based scenario. My normal approach for the desktop is below, and I would like to know the closest thing I can use for doing this on mobile. I've tried various google searches with no luck I'm probably not googling the correct thing.

Any questions let me know :)


My Approach on desktop:

My Approach on desktop is to use a JFrame, and a Canvas (java.util) and then a buffered image. After this I pull the image raster out, and get the data. Doing this allows me to manipulate the pixels as desired and regularly render them to the screen. and if desired I can draw to the canvas using the various functioning given from Graphics and Graphics2d classes.

Thanks in advance for your help
Jordan

Is This A Good Question/Topic? 0
  • +

Page 1 of 1