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 /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class GlassesView extends View { private Paint paint; private BitmapFactory.Options options; private Bitmap bitmapOrg; private int glassesWidth; private int glassesHeight; public int glassesX; public int glassesY; public float glassesSizeX; public float glassesSizeY; private boolean drawGlasses; public GlassesView(Context context) { super(context); paint = new Paint(); paint.setDither(false); paint.setAntiAlias(false); options = new BitmapFactory.Options(); options.inDither = false; options.inScaled = false; Bitmap bitmapTemp = BitmapFactory.decodeResource(getResources(), R.drawable.micro_glasses, options); bitmapOrg = Bitmap.createScaledBitmap(bitmapTemp, 32, 5, false); glassesWidth = bitmapOrg.getWidth(); glassesHeight = bitmapOrg.getHeight(); drawGlasses = false; } @Override protected void onDraw(Canvas canvas) { if(drawGlasses) { Matrix matrix = new Matrix(); matrix.postScale(glassesSizeX, glassesSizeY); Bitmap resizedBitmap = Bitmap.createBitmap(bitmapOrg, 0, 0, glassesWidth, glassesHeight, matrix, false); int newWidth = resizedBitmap.getWidth(); int newHeight = resizedBitmap.getHeight(); Paint bluey = new Paint(); bluey.setColor(Color.BLUE); canvas.drawRect(new Rect(glassesX, glassesY, glassesX+newWidth, glassesY+newHeight), bluey); canvas.drawBitmap(resizedBitmap, glassesX, glassesY, paint); } } public void updateGlasses(int x, int y, float xsize, float ysize) { drawGlasses = true; glassesX = x; glassesY = y; glassesSizeX = (float) xsize / (float) glassesWidth; glassesSizeY = glassesSizeX; } }