![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 Specs![]() |
| | #2 (permalink) |
| 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 Specs![]() |
| | #3 (permalink) |
| 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 Specs![]() |
![]() |
| 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 |