![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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) |
| | 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 | |
| |
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 | |||