Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graphics Transformation Problem
Message
From
03/04/2009 07:09:24
 
 
To
All
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
Graphics Transformation Problem
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01392928
Message ID:
01392928
Views:
90
Hi,

Don't know if I can describe this well enough but:

I have a Geometry which defines a shape (in the non-WPF meaning of the word). As an example assume it looks like a + sign.
I use this as the Data property for a Path control.
I add the Path to a Canvas and use the Path.RenderTransform to rotate it through 45 degrees (so that is appears on the Canvas more like an x shape)
Now I want to create a new Path from this Path that gives the same appearance - but without using a Transform......
(Well, not quite true: I could use a Transform - but the bounds of the new Path need to be relative to the Canvas)

The above is a simple example - the actual solution will need to work with Paths using more complex Transforms

Any suggestions?
Regards,
Viv
Next
Reply
Map
View

Click here to load this message in the networking platform