android-developers
[Arriba] [Todas las Listas]

[android-developers] Re: Qué android recuperar bitmap?

To: android-developers@xxxxxxxxxxxxxxxx
Subject: [android-developers] Re: Qué android recuperar bitmap?
From: a a <harvey.acer@xxxxxxxxx>
Date: Mon, 31 Oct 2011 19:36:08 +0800
Delivery-date: Mon, 31 Oct 2011 07:36:33 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=zw+yGmAprtHZWM3FUJuTVa0vvtSxTPiPA/MVne8Ibyw=; b=P92wxZ4/ikbpCeczya5RBXIB1xUvdMjnUS43+KMjtYTumc7b9qxFdaFdm9bJjoGhZQ 5hFtVQ8W1CV7Quad0juZvzVITU3KeAxklB4BA//Hvemq4luAWBHB5V3HDBsmPLfFtF8E lUYFgqiQd4E58hdMdb0lq3kc09rCDBMOVeKh8=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CA++1Ygea7X6H6JDvkYyyQut355HVnLWigXnH8TuYAHpTB6f4FQ@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CA++1Ygea7X6H6JDvkYyyQut355HVnLWigXnH8TuYAHpTB6f4FQ@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Yo *envoke el *drawBitmapMesh en "*onDraw"

        @*Override
        protegió *void *onDraw(tela de Tela)
            #cnj(!*mSave)
                #unknown{^*Log.*e("Prueba",
"*ssssssssssssssssssssssssssssssssssssssssssssssssss");
                tela.Salva();
                *mSave = cierto;
            }
            *mCanvas = tela;
            tela.*drawColor(0*xFFCCCCCC);
            tela.*concat(*mMatrix);
            Tela.*drawBitmapMesh(*mBitmap, ANCHO, ALZADA, *mVerts, 0,*null,
0, *null);
            si(*mRestore)
                #unknown{^*Log.*e("Prueba",
"*rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr");
                tela.Restaura(); // no puede restaurar el *bitmap.
                *mRestore = Falso;
            }
        }

-- 
recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
I envoke the drawBitmapMesh in "onDraw"

        @Override
        protected void onDraw(Canvas canvas) {
            if(!mSave) {
                Log.e("test",
"ssssssssssssssssssssssssssssssssssssssssssssssssss");
                canvas.save();
                mSave = true;
            }
            mCanvas = canvas;
            canvas.drawColor(0xFFCCCCCC);
            canvas.concat(mMatrix);
            canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0,null,
0, null);
            if(mRestore) {
                Log.e("test",
"rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr");
                canvas.restore(); // it can't restore the bitmap.
                mRestore = false;
            }
        }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>