android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Zooming Polígonos: Puede i saber si las fronte

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Zooming Polígonos: Puede i saber si las fronteras de polígono están logrando las fronteras de la pantalla?
From: TreKing <trekingapp@xxxxxxxxx>
Date: Mon, 31 Oct 2011 11:04:00 -0500
Delivery-date: Mon, 31 Oct 2011 12:04:45 -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:from :date:message-id:subject: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=0aOGH1vR9sIIA+HgquaAMOlV61MO3qDUlFDPVuyDxmM=; b=ms944EFnwJSW7SA8S/uwtxUnNzhH9qUPpE4WwedlrauVJ+EL9m3vGtmcWMAj/sbVk4 wxT2oVYK+d14n6haZu2xZx+iNxqbtGzKeB/VtwnqAEsPfvZFBfaOA0HQosQt/gk4rEKv 2wnkMOvLEw8ac4F44zKL+FcRcBCeVaSXwHMeg=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <3d8ffabe-9cc4-4175-be93-6bc35b7415d5@y36g2000yqm.googlegroups.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: <3d8ffabe-9cc4-4175-be93-6bc35b7415d5@y36g2000yqm.googlegroups.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
En *Mon, *Oct 31, 2011 en 9:46 AM, *saex <elpablosaez@xxxxxxxxx> escribió:

> quiero mostrar una plaza con el 100% del ancho de la pantalla,
> entonces, *i *supose que *i tener que *zoom lo (con *Z eje) hasta las fronteras
> de polígono son *tounching las fronteras de pantalla.
>
> Pero cómo puede *i detectar aquello?
>

Tú  no - tú  el *math necesario de calcular en lo que distancia tienes que *render el polígono tal que el ancho es igual al ancho de la
pantalla de dispositivo.

-------------------------------------------------------------------------------------------------
*TreKing <*http://Sitios.*google.*com/Sitio/*rezmobileapps/*treking> - *Chicago
*transit *tracking *app para *Android-*powered dispositivos

-- 
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
On Mon, Oct 31, 2011 at 9:46 AM, saex <elpablosaez@xxxxxxxxx> wrote:

> I want to show a square with the 100% of the width of the screen,
> then, i supose that i must zoom it (with Z axis) until the polygon
> borders are tounching the screen borders.
>
> But how can i detect that?
>

You don't - you do the math necessary to calculate at what distance you
must render the polygon such that the width is equal to the width of the
device screen.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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>