Browse by Tags

Tagged Content List
  • Blog Post: A prototype WPF/Silverlight layout designer

    I’ve been thinking recently about how would I write a WPF UI designer that would specifically highlight the new WPF layout paradigm, and not try to mimic the old WinForms paradigm. The old VB6/WinForms designer was built around absolute positioning. It allowed for rapid WYSIWYG prototyping of interfaces...
  • Blog Post: Bezier Curves and Car Manufacturers

    Michael has asked me if it was possible to add Bezier curves to Live Geometry. So I went ahead and added a Bezier tool (and it took me about 30 minutes to do so!): This draws a cubic Bezier curve using four points: There is something beautiful and elegant about these curves. No wonder industrial designers...
  • Blog Post: Saving images (.bmp, .png, etc) in WPF/Silverlight

    I’ve recently added a new feature to Live Geometry that allows users to save the current drawing as a bitmap or a .png file. Just push the save button and pick the desired image format in the Save dialog: Fortunately, both WPF and Silverlight support saving full visual contents of any visual into a file...
  • Blog Post: Silverlight 3 is out!

    “Well, unless you’ve been living under a rock…” © CyrusN :) I’m very excited about Silverlight 3 which has TONS of new awesome features, from better graphics and text to out-of-browser support, style improvements and… drumroll… SaveFileDialog (finally) :) Links: ScottGu’s announcement: http://weblogs...
  • Blog Post: Algorithms in C#: shortest path around a polygon (polyline routing)

    Suppose you have to build a road to connect two cities on different sides of a lake. How would you plan the road to make it as short as possible? To simplify the problem statement, a lake is sufficiently well modeled by a polygon, and the cities are just two points. The polygon does not have self-intersections...
Page 1 of 1 (5 items)