Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Roation Opinions

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 11-02-2006   #1 (permalink)
jpuopolo
Guest


 

Roation Opinions

All:

I am working on a WPF prototype application. This application reads some
data from a database and renders a simple graph of nodes and connecting
lines. Users of the app should be able to rotate the graph about the origin.

Opinion: Do you think it's easier/better to render onto a control, e.g.,
Canvas and simply use a rotation transform on the element, or calculate the
rotation some other way?

Thanks,
John


My System SpecsSystem Spec
Old 11-06-2006   #2 (permalink)
Laurent Bugnion
Guest


 

Re: Roation Opinions

Hi,

jpuopolo wrote:
> All:
>
> I am working on a WPF prototype application. This application reads some
> data from a database and renders a simple graph of nodes and connecting
> lines. Users of the app should be able to rotate the graph about the origin.
>
> Opinion: Do you think it's easier/better to render onto a control, e.g.,
> Canvas and simply use a rotation transform on the element, or calculate the
> rotation some other way?
>
> Thanks,
> John


I think that it's easier to render your control with 0 rotation, and to
let the WPF take care of the rotation by using a RotateTransform. That
makes your life much easier.

Note however that some content cannot be rotated, for example ActiveX
controls running embedded in the WPF framework.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
My System SpecsSystem Spec
Old 11-06-2006   #3 (permalink)
Laurent Bugnion
Guest


 

Re: Roation Opinions

Hi,

jpuopolo wrote:
> All:
>
> I am working on a WPF prototype application. This application reads some
> data from a database and renders a simple graph of nodes and connecting
> lines. Users of the app should be able to rotate the graph about the origin.
>
> Opinion: Do you think it's easier/better to render onto a control, e.g.,
> Canvas and simply use a rotation transform on the element, or calculate the
> rotation some other way?
>
> Thanks,
> John


I think that it's easier to render your control with 0 rotation, and to
let the WPF take care of the rotation by using a RotateTransform. That
makes your life much easier.

Note however that some content cannot be rotated, for example ActiveX
controls running embedded in the WPF framework.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
need yor thoughts or opinions angelo621 General Discussion 5 07-27-2008 12:46 PM
Opinions needed amplid General Discussion 28 07-19-2008 09:45 AM
I need some opinions about Ultimate. bleeda General Discussion 3 06-18-2008 04:38 PM
Opinions on this ? yongkailoon General Discussion 7 06-10-2008 09:10 AM
SP1 Opinions CJM Vista performance & maintenance 38 03-19-2008 03:12 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51