Article | 41017046 |
Type | HowTo |
Product | Engine |
Version | 4.0.0.1017 |
Date Added | 3/26/2003 |
Submitted by | rn@moussoftware.com |
Keywords |
Would it be possible for you to support gradient and degree angles by setting a property in vdraw so, that for every property/method that needs rotation the input is set to the angle units. For instance, in the cmdArc method the start angle and end angle values need to be in radians right now, but by setting the angle units to degree the cmdArc start and end angle values can set by degree values ??
This is something that you can easily do.
You can use the AStringUnits2Real Function, AReal2StringUnits Function, LReal2StringUnits Function and LStringUnits2Real Function.
Get the user input in any "value type", convert it using the above and pass it to vdraw (post command string).