Published Friday, December 15, 2006 8:04 AM by mtaulty

Bit more WPF/E Video

I had a little play with dropping a Path (made from some text in Expression Design) over the top of a video and then using mouse drag in order to skew the Path left, right, up and down.

It looks like this;

and it's here: http://mtaulty.com/wpfe/ex8.html

and you can try and mouse down and then drag the mouse left, right and up,down to change the skew (the details of which should print at the bottom of the screen).

It's very basic but I'm drawn to this idea of putting things "on top" of video content.

Update. I showed MikeO this and he asked "what is that thing then, a piece of text?". Essentially, all that's on the screen here is;

Canvas

  MediaElement

  Path (the Path is the black rectangle with the word "Video" cut out of it)

  TextBlocks at the bottom

The way that I made the Path was to use Expression Design and do;

  1. Insert a piece of text with the word Video on it (set the font, size, etc)
  2. Convert the text to a Path using the Object menu
  3. Draw a rectangle around that newly created Path
  4. Select both the rectangle and the text Path and make them into a Compound object (using the Object menu)
  5. Fill the newly constructed compound object with a black brush

# The power's back on and there's a glut of new WPF/E blogs and samples @ Wednesday, December 20, 2006 10:41 AM

After almost 5 days without power (yeah, it was cold), Puget Sound Energy brought the power back to my

Mike Harsh's Blog

# 更多WPF/E相关信息/例子(2) @ Friday, December 29, 2006 1:19 PM

1。[来源: Barak's Blog about "WPF/E" and beyond ] WPF/E产品组的设计师提供了一张使用了WPF/E,可以设置内容的 贺卡 : 2。[来源: Mike Harsh's

Joycode@Ab110.com