Bookmark and Share Share...    Subscribe to this feed Feed   About Christian Moser  

WPF Geometry Transformation Tool

The geometry transformer is a simple tool I wrote to scale-, translate- and rotate-transform a geometry in the path mini language.

Simply paste the geometry string into the input textbox and specify the transform parameters. After pressing "Transform" the output textbox shows the translated geometry string. This is very useful to transform simple geometries like an expanded/collapsed chevron used in an expander template.

Click here to download the Geometry Transformer

Last modified: 2008-10-28 15:09:03
Copyright (c) by Christian Moser, 2011.

 Comments on this article

Show all comments
Commented on 4.April 2009
Hmmm, I checked a "popular" article and reading without comprehension on a mini language, then I noticed the search engine deceiving comments :D
Commented on 1.July 2009
can you please tell me the logic for this? i want to implement this in a vector drawing application
Commented on 1.August 2009
This is nice. Can you make the source available please?
Commented on 2.December 2009
It'll be nice if there is source code too...
Commented on 26.January 2010
With WPF, you can tranform elements by using RenderTransform.
you can rotate, scale, and move them freely. I'm sorry I have no further information, I haven't tried it yet. Look here for example:
Commented on 3.May 2010
Perfect!! Was looking for the path of a chevron and I even got the tool to rotate it as a bonus! :D Thanks a lot.
Commented on 20.July 2010
<StackPanel OverridesDefaultStyle=\"True\">
<SolidColorBrush x:Name=\"MyBrush\" Color=\"Orange\" >

<EventTrigger RoutedEvent=\"Button.Click\">
From=\"1\" To=\"0\" Duration=\"0:0:5\" AutoReverse=\"True\" />
Commented on 14.September 2010
Excellent Artical i have ever seen
Commented on 1.December 2010
even my 3 year old child would created this type of scrap application.
Commented on 15.March 2011
it is good could i have material for this

E-Mail (optional)