Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX - Point Of Rotation
Message
From
28/02/2008 10:27:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
28/02/2008 08:01:55
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01297306
Message ID:
01297371
Views:
27
>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)

Translation of the country of your origin. Zimbabwe.

>
>
>>>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.

Yes, I'm interested in this. But my weekend starts within the minute so we better do next week.
>
>
>>> 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.

I spend a while figuring out that it will actually turns the area not the pen. But I could remember the days of me programming industrial robots, so it wasn't that far.

Have nice Day

Agnes
AFK

>
>>> 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
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
Reply
Map
View

Click here to load this message in the networking platform