Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX - Point Of Rotation
Message
From
28/02/2008 05:17:05
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/02/2008 04:41:38
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01297306
Message ID:
01297307
Views:
11
Hi Srdjan,

hm, you have to move the point of rotation using TranslateTransform.
Something like
*... to the point of rotation
*old Code
*.oGfx.RotateTransform(Angle)
*replaced by
.oGfx.TranslateTransform(0,distance_top_to_bottom)
.oGfx.RotateTransform(Angle)
.oGfx.TranslateTransform(0,-distance_top_to_bottom)
*/replaced by
HTH

Agnes
>Dear All,
>
>I need to change rotation point from top left corner to bottom left corner of rotated picture (or text) rectangle. Most of samples in GdiPlusX use topleft corner as 'nail' point. How do I set it to be bottom left or bottm right etc.
>
>TIA
>Sergio
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform