Information générale
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
Graphics Transformation Problem
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement