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 - BitmapFactory in openGL?

BitmapFactory in openGL?

All your problems with Audio, Video and Images.

BitmapFactory in openGL?

Postby zardos » Thu Sep 17, 2009 10:36 pm

Hi, i'v been trying to find out how to translate this code into openGL, how do i draw a simple bitmap at specified cordinates?

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.  
  3.  public void onDraw(Canvas canvas) {
  4.  
  5.             Bitmap _scratch = BitmapFactory.decodeResource(getResources(), R.drawable.t1);
  6.  
  7.             canvas.drawColor(Color.BLACK);
  8.  
  9.             canvas.drawBitmap(_scratch, 10, 10, null);
  10.  
  11.         }
  12.  
  13.  
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


//Robin
zardos
Freshman
Freshman
 
Posts: 5
Joined: Thu Sep 17, 2009 10:30 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 13 guests