Skew/reduce height only on one side?
Last post 04-29-2008 10:01 AM by metal. 4 replies.
Sort Posts:
09-07-2007 12:32 PM
Skew/reduce height only on one side?

Hi,

I am trying to skew a video element only on one side, so that it looks like a Trapeziod. Currently with SkewTransform I can only make it appear as a Rhombus. I want my video to look like a trapeziod, because I want it to look like a TV on a side wall. I found an example in the showcase that I thought was it, but the developers cheated and did this in side the video(skewed in the video, not via XAML).

Is there a way to accomplish this with XAML and not do a hack in the video itself?

 

Thanks

bungionring

Joined on 09-07-2007
Posts 2
09-14-2007 5:47 PM
Re: Skew/reduce height only on one side?

SO I guess no one know the answer to this?

bungionring

Joined on 09-07-2007
Posts 2
09-18-2007 9:39 AM
Re: Skew/reduce height only on one side?

It seems that Silverlight only supports affine transforms (as confirmed by the SDK documentation). You are trying to do a perpective transformation. It is also a serious shortcoming for my project..

suer

Joined on 09-04-2007
Posts 5
03-16-2008 2:54 PM
Re: Skew/reduce height only on one side?

Has anyone figured out if this is possible yet? Or is a 'perspective transform' still out of hte question?

 

blackmonday

Joined on 10-12-2007
Posts 5
04-29-2008 10:01 AM
Re: Skew/reduce height only on one side?

 still out of the question, but I did think of taking multiple images clipping them to 1 pixel high and the stacking them one on top of each other with horizontal scalling.

eg.

1111111111
2222222222
3333333333

becomes

  111111
 22222222
3333333333
metal

Joined on 04-24-2008
Posts 20