Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX - Point Of Rotation
Message
De
28/02/2008 08:01:55
 
 
À
28/02/2008 07:36:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
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:
01297324
Vues:
21
Hi Agnes,

>>How is it at the "houses from stone"? < giggle / >
Sorry, but I didn't catch this one... Can you reveal what you meant here ? (Probably a language difference of culture)


>>I've tried around GdiPlusX but in the end I've used the _gdiplus.vcx that ships with vfp. This is because I do small changes to the reportlistener app, and thisone loades the _gdiplus.vcx anyway.

I understand. But in my case, I preferred to keep using GdiPlusX, as I'm used to it and I find it easier to use :-). Basically they do exactly the same. You can even use GdiPlusX objects in _gdiplus.vcx. That means that you can use GdiPlusX to create a gradient brush or a matrix or a special pen or brush and send this object as a parameter to GdiPlus.vcx, and they will work fine together ! To make this possible, we made some simple adaptations in GdiPlusX to make its objects compatible with the old gdi+ classes. If you need to go deeper on this, let me know.


>> Do I understand right that things like RotateTransform and TranslateTransform turn and move the the area I work with? To me it looks like that TranslateTransform moves the point of origin and the RotateTransform turns the area around that point.

To my knowledge, they do exactly what you said here.


>> So if I do not "reset" those actions I end up with all things before RotateTransform rotate negative?

After using the transformation matrix, I do always reset or release it, other wise the Graphics object will keep drawing with the transformations.

Hope this helps

Regards

Cesar




>Hi Cesar,
>
>How is it at the "houses from stone"? < giggle / >
>I've tried around GdiPlusX but in the end I've used the _gdiplus.vcx that ships with vfp. This is because I do small changes to the reportlistener app, and thisone loades the _gdiplus.vcx anyway. But for testing it was great (Could copy easier from the web). All my knowlegde is from GDIPlusX and the I transformed to _gdiplus.vcx. I would have used GDIPlusX but the other one was there. ::(
>
>Anyway, since I haven't had time to do deep work with gdi+ could you answer me a question. Do I understand right that things like RotateTransform and TranslateTransform turn and move the the area I work with? To me it looks like that TranslateTransform moves the point of origin and the RotateTransform turns the area around that point. So if I do not "reset" those actions I end up with all things before RotateTransform rotate negative?
>
>Agnes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform