Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - mirror Bitmaps in a surfaceview implementation

mirror Bitmaps in a surfaceview implementation

Problems with Canvas, OpenGL, etc...

mirror Bitmaps in a surfaceview implementation

Postby sump38 » Mon Jun 27, 2011 2:35 pm

Hi guys,
so i'm trying to build a class that will take a sprite sheet (image with multiple frames in it) and render it as an animation, using a SurfaceView canvas.

by now, i finished implementing using the function
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. canvas.drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint)
  2.  
Parsed in 0.013 seconds, using GeSHi 1.0.8.4


this takes the part of the bitmap assined by the src Rectangle and draws it according to the dst Rectangle.

this gave me exatly what i needed until i wanted to rotate/flip the frame.

does anyone have any idea as to how this should be done?
sump38
Freshman
Freshman
 
Posts: 2
Joined: Mon Jun 13, 2011 10:13 pm

Top

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

Who is online

Users browsing this forum: No registered users and 4 guests