[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSView boundsRotation
From: |
Dr. H. Nikolaus Schaller |
Subject: |
Re: NSView boundsRotation |
Date: |
Thu, 14 Jul 2011 21:45:05 +0200 |
Am 14.07.2011 um 20:38 schrieb Bluna Ratimonkey:
> On Fri, Jul 15, 2011 at 1:27 AM, Dr. H. Nikolaus Schaller
> <hns@goldelico.com> wrote:
>>
>> Am 14.07.2011 um 19:08 schrieb Bluna Ratimonkey:
>>
>>> +1 no ads intended. But actually I don't quite understand this. Like
>>> bounds should always be treated like a rectangle in global coordinate?
>>
>> Yes, should be but apparently isn't. You can try to create a NSBezierPath
>> with rectangular corner points and try to simply apply the transforms one
>> would expect. You will get a *very* different result. First difference is
>> that
>> you roughly get the bounding box of the rotated corner points.
>>
>>> But they allowed skew in the transformation while enforcing RSX+T
>>> model? what's the formula of this? RMX+T ?
>>
>> We don't know the formula used by AppKit.
>>
>> What is RSX+T and RMX+T? Please explain abbreviations.
>>
>> BR,
>> Nikolaus
>
> Hi Nikolaus,
> sorry for the abbrs, thought they were obvious,
> R = rotation matrix 2x2f
> S = scale 2f
> T = translation 2f
> X = point 2f
> M is R.S
Tnx.
> Thanks and PS. did you forget to CC the list?
Yes. Because I prefer lists where "Reply" goes to the list, because a list is a
list
and private communication is private...