Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX - Point Of Rotation
Message
De
28/02/2008 05:17:05
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
28/02/2008 04:41:38
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01297306
Message ID:
01297307
Vues:
12
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform