Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shapes & Rotation
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00960228
Message ID:
00960948
Views:
10
>>>>For shapes, you have to define a PolyPoint array and that's what will be rotated, not the "shape" but the shape defined by the polypoints.
>>>
>>>Thanks Fred.
>>>
>>>Why can't things just be simple. You put a rectangle on a form and you rotate it. Oh, well PolyPoints for 100 dining room tables it is, that is unless you are going to tell me that I can't have 100 arrays.
>>>
>>>TIA
>>>
>>>DJ
>>
>>I made an interesting discovery in playing with the PolyPoints. I'm not sure why, but I thought they were an absolute measurement, like pixels or something. Turns out they're a percentage of the size of the shape dimensions. Made an analog clock just to play around with them a bit and the rotation.
>
>
>I think it is very interesting that it is in percentaje of the size. The first thing I did with VFP 9 Beta as soon as We downloaded it, was to play with polypoints, making a dynamic and resizable Pie Chart, which was pretty easy thanks to this fact

Yes, as soon as I realized that it wasn't absolute coordinates, it made all the sense in the world that it would allow resizing that way.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform