rotatetransform

WPF - find actual top and left of an image after rotating it

I am using WPF and I have an image of an 8.5" * 11" piece of paper on a Canvas. I am then rotating the image using a RotateTransform, with the axis being in the middle of the page (that is, RotateTransformOrigin="0.5,0.5"). How can I find the actual location on the canvas of the corners of the image? ...

WPF PathGeometry/RotateTransform optimization

I am having performance issues when rendering/rotating WPF triangles If I had a WPF triangle being displayed and it will be rotated to some degree around a centrepoint, I can do it one of two ways: Programatically determine the points and their offset in the backend, use XAML to simply place them on the canvas where they belong, it wo...

rotate a 3d object in behind code C#

Hi All, I want to rotate by using "RotateTransform3D and AxisAngleRotation3D", a 3D object created in behind code C#. Could you explain me how this is done. Regards R.Joe ...

how to check browser using jquery?

how to rotate image angle using jquery? is it possible? ...

Composing sequential rotations around different centers?

The following code draws a line, rotates it 30 degrees around its left end, restores it to its original position, rotates it 30 degrees around its right end, and then repeats several times. How can I sequence these rotations without restoring the line to its original position in between? The first rotation (around the left endpoint) ca...

Rotate Windows.Documents.Table

I need to rotate a table clockwise up to 90 degrees. It's one of the blocks of a FlowDocument. Is there a way to apply some kind of rotation to a Table? The possible solution of creating TextEffect like this: var table = new Table(); ... // fill the table here var effect = new TextEffect { ...

WPF - Relative transform on brush results in jagged lines.

After applying a relative rotate transform (of 45 degrees) on a brush in WPF, I am left with extremely jagged lines. Has anyone else experienced this? Did you find a solution? ...