Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graphics Transformation Problem
Message
From
09/04/2009 13:57:03
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01392928
Message ID:
01393999
Views:
31
>Hi,
>Thanks for the code. You're right - it didn't help much for the case in question but gave me a few ideas for something else I needed!
>The code I posted solved my problem - basically adding the Transform of the Path to the content Geometry and removing it from the Path. Then I can use the change in bounds for the Path to calculate a compensating size and position so that the final appearance is identical. Maybe there's a simpler way - but I haven't found one....

Cool, glad you found some use foir it<g>

>BTW, completely off topic : Do you use Snoop? I find it very useful for digging into visual trees at runtime.....

Constantly Snoop is a vital part of my toolkit.

I also use these items frequently for WPF coding:

Mole
ShowMeTheTemplate
SqlServerQueryVisualizer
CLRProfiler
Adobe Illustrator XAML converter add in
Simple Styles Sample Project
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform