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

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 - Draw one bitmap to another

Draw one bitmap to another

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Draw one bitmap to another

Postby Redwid » Fri Dec 07, 2007 2:48 pm

Hi!

Can anybody advise me?

I have to draw one bitmap to another. Like in MIDP: getGraphics.drawImage().
Is there any suggestion without get bitmap.getPixels() and bitmap.setPixels()?

Thx,
Redwid
Freshman
Freshman
 
Posts: 2
Joined: Fri Dec 07, 2007 2:40 pm

Top

Postby plusminus » Fri Dec 07, 2007 7:12 pm

Hello RedWid,

what about the following :?:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.         Canvas c = new Canvas();
  2.  
  3.         c.setDevice(bitmapResult); // drawXY will result on that Bitmap
  4.  
  5.         c.drawBitmap(bitmapA, left, top, paint);
  6.  
  7.         c.drawBitmap(bitmapB, left, top, paint);
Parsed in 0.011 seconds, using GeSHi 1.0.8.4


let us know if it was useful :)

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby Redwid » Mon Dec 10, 2007 10:10 am

O, tnx!
It works!
Redwid
Freshman
Freshman
 
Posts: 2
Joined: Fri Dec 07, 2007 2:40 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests