On Mon, Oct 31, 2011 at 9:46 AM, saex <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to