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 - Scale problem with canvas

Scale problem with canvas

Problems with Canvas, OpenGL, etc...

Scale problem with canvas

Postby GerdGerdGerd » Sun Apr 22, 2012 3:51 pm

hello together,

i have some bitmaps in hdpi format and i draw these bitmaps with canvas.drawBitmap(bitmap, x, y, null) on my screen. this works fine for a 800 x 480 pixel screen resolution. if i have a bigger screen resolution (1280 x 768 pixel), the bitmaps still drew with their original size. whats the best performing solution to autoscale the bitmaps / canvas? Should i use the 800 x 480 pixel screen resolution as 100% and calculate the scale factor manually?

Thank you for your help..

gerdgerdgerd
GerdGerdGerd
Junior Developer
Junior Developer
 
Posts: 19
Joined: Sun Jun 05, 2011 6:14 pm

Top

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

Who is online

Users browsing this forum: No registered users and 3 guests