• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Threaded drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threaded drawing


  • Subject: Re: Threaded drawing
  • From: David Duncan <email@hidden>
  • Date: Wed, 11 Dec 2013 16:21:10 -0800
  • Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.

On Dec 11, 2013, at 4:17 PM, Dave Fernandes <email@hidden> wrote:

> Is there any way to zoom in just one dimension?

Not really. You could put a counter transform before drawing that eliminates the opposite direction (and the aforementioned sample should show how to find out the current zoom level) but thats not really a satisfying solution...

>
> On Dec 11, 2013, at 6:05 PM, David Duncan <email@hidden> wrote:
>
>> On Dec 11, 2013, at 8:05 AM, Jeffrey Oleander <email@hidden> wrote:
>>
>>> * (The posted snippet from sample code was as clear as mud to me.  Why powers of 4 (and -4) instead of 5 when we're talking about 5 levels of detail?
>>> 1/(2^2) - 2^2 = (1/4) - 4  means "...levelsOfDetail" should be set to 5?!? It needs more words, more context.)
>>
>>
>> The base level of detail is a zoom level of 2^0 (1 level of detail only allows for a single representation like that). Each additional level of detail is a zoom level half that size smaller (thus a 2nd level if 2^-1x or 1/2x, then 2^-2x or 1/4x, etc). The bias adds to the base level’s exponent, thus a bias of 2 means the base level if 2^2x (4x) zoom instead of 2^0x zoom.
>>
>> There are no powers of 4, (or 5 or any other except for 2). The level of detail is range of the exponent, not the base.
>> --
>> David Duncan
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden

--
David Duncan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Roland King <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Roland King <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Seth Willits <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Jens Alfke <email@hidden>)
 >Re: Threaded drawing (From: Kyle Sluder <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: Seth Willits <email@hidden>)
 >Re: Threaded drawing (From: Kyle Sluder <email@hidden>)
 >Re: Threaded drawing (From: Graham Cox <email@hidden>)
 >Re: Threaded drawing (From: 2551 <email@hidden>)
 >Re: Threaded drawing (From: Jens Alfke <email@hidden>)
 >Re: Threaded drawing (From: Jeffrey Oleander <email@hidden>)
 >Re: Threaded drawing (From: David Duncan <email@hidden>)
 >Re: Threaded drawing (From: Dave Fernandes <email@hidden>)

  • Prev by Date: Re: Threaded drawing
  • Next by Date: Autolayout Freespace
  • Previous by thread: Re: Threaded drawing
  • Next by thread: Re: Threaded drawing
  • Index(es):
    • Date
    • Thread