|
-
June 10th, 2008, 03:27 AM
#1
WPF , render Transform, Anyone?
I am using Blend to create a analog clock. However, i couldn't make the SecondHandle to move smoothly. Currently it is moving like jumping away every second. I want it to move smoothly across the time. Anyone knows how to achieve this?
I believe i need to do something on the rendering part. This is what i have now.
Code:
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1"/>
<SkewTransform AngleX="0" AngleY="0"/>
<RotateTransform Angle="{DynamicResource dSecondAsAngle}"/>
<TranslateTransform X="0" Y="0"/>
</TransformGroup>
</Rectangle.RenderTransform>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|