Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Roation Opinions

 
 
Old 11-02-2006   #1 (permalink)
jpuopolo


 
 

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


 
 

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
 

Thread Tools


Similar Threads
Thread Forum
Opinions Desired... Vista General
I need some opinions about Ultimate. General Discussion
Opinions on this ? General Discussion
Considering 64bit, your opinions please. Vista General
SP1 Opinions Vista performance & maintenance


Vista Forums 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 Ltd

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