Tag Archives: animation

BezierSegment demo application

It has been a long time since my last post, I’m must admit I was both busy and trying to find something cool to blog about. Because I’ll be in holidays tomorrow, I decided to take some time to build a sample application that demonstrates a feature of WPF I’m going to use soon.

In the sample application (source code available here), you will be able to play with the BezierSegment class. I created a simple control that wrap the BezierSegment into something more easy to visualize.The application allows you to drag and drop points and to animate the line.

Here is the result:

bezierdemo

I hope you’ll like it ! The reason I’m going to use this class is in a diagramming control (like Visio) to connect shapes together…

Download the source code.

Adding transitions to a MVVM based dialog


Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php on line 31

Fatal error: Uncaught Error: Call to undefined function eregi() in /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php:136 Stack trace: #0 /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php(75): wp_codebox_is_windowsie() #1 /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php(50): wp_codebox_highlight_geshi(Array) #2 [internal function]: wp_codebox_highlight(Array) #3 /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php(130): preg_replace_callback('/<p>\\s*97633874...', 'wp_codebox_high...', '<p>In my <a hre...') #4 /homepages/5/d143877862/htdocs/japf/wp-includes/plugin.php(213): wp_codebox_after_filter('<p>In my <a hre...') #5 /homepages/5/d143877862/htdocs/japf/wp-includes/post-template.php(221): apply_filters('the_content', '<p>In my <a hre...') #6 /homepages/5/d143877862/htdocs/japf/wp-content/themes/twentythirteen/content.php(39): the_content('Continue readin...') #7 /homepages/5/d143877862/htdocs/japf/wp-includes/template.php( in /homepages/5/d143877862/htdocs/japf/wp-content/plugins/wp-codebox/main.php on line 136