Re: Compositing within an NSBezierPath (was Re: [RANT] Unfair preferential treatment of Microsoft)
Re: Compositing within an NSBezierPath (was Re: [RANT] Unfair preferential treatment of Microsoft)
- Subject: Re: Compositing within an NSBezierPath (was Re: [RANT] Unfair preferential treatment of Microsoft)
- From: Ondra Cada <email@hidden>
- Date: Thu, 20 Sep 2001 22:33:20 +0200
Finlay,
>
>>>>> Finlay Dobbie (FD) wrote at Thu, 20 Sep 2001 21:20:50 +0100:
FD> >I read a interview to the M$ developing team on a Japanese mac
FD> >magazine. They said that they analysed genie effect and implemented it
FD> >all by themselves.
FD>
FD> If I was to do that, I presume I would need to composite my window
FD> inside an NSBezierPath. How could I do that (assume that the window's
FD> borderView is the view I need to composite, and I can create an accessor
FD> via a category for that, of course)?
I guess not. I would go pixel-wise here. Just get the window image, distort
it, and draw the distorted thing inside a transparent window.
Perhaps its a stupid way to do so, but I offhand just don't see any better.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc