Can you edit the View's Canvas's Bitmap Directly?

Problems with Canvas, OpenGL, etc...

Can you edit the View's Canvas's Bitmap Directly?

Postby shavlor » Tue Aug 09, 2011 7:54 am

Right now I am working with int arrays and then during onDraw(Canvas canvas)
I am using canvas.drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint)
But I am wondering if there is a way to edit the actual Bitmap of the canvas directly? Just how I currently edit the int arrays

Thanks
shavlor
Freshman
Freshman
 
Posts: 2
Joined: Thu Feb 17, 2011 5:36 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests