Re: window rotation
Re: window rotation
- Subject: Re: window rotation
- From: Brent Gulanowski <email@hidden>
- Date: Thu, 13 May 2004 12:48:23 -0400
On May 13, 2004, at 6:30 AM, Claus Atzenbeck wrote:
>
Hi,
>
>
I have a strange thing to do: For some user tests at the university, I
>
want to be able to rotate complete windows. The functionality must stay
>
the same, e.g. buttons, text fields, etc. It should look similar to
>
this
>
little (faked) screenshot:
>
<http://homepages.uni-regensburg.de/~atc16247/src/temp/rotation.png>.
>
>
It would be the best to have an application which enables rotation on
>
any Cocoa window.
>
>
Is this possible at all?
>
Do I have to change the window manager?
No you don't have to change the window manager. That said, the only
method I can think of without really thinking is not especially
thrilling.
You have to create your window and then figure out how to get a screen
shot of it. CoreGraphics should have something to let you do that, I
figure. Then you want to create a new transparent window with no
features (no title bar or resize widget) and draw your captured image
in there rotated as desired. If you want to capture a bunch of windows
(like windows from other applications), you might need a pretty smart
algorithm to interpret your screen grabs, unless there is already a
function to just grab a window -- since Snapz Pro X can do it, that is
a possibility.
--
Brent Gulanowski email@hidden
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.