DOC: Form's Circle Method Accepts Negative Aspect Ratio (189865)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q189865

SUMMARY

When you use values less than -1.0 for nAspect ratio, the aspect ratio and radius values are determined as follows:
   nAspect = ABS(nAspect)

   nRadius = nRadius * nASpect
				
This behavior is by design.

The Visual FoxPro help file does not describe this behavior for values of nAspect less than -1.0.

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code:
   PUBLIC ox
   ox = CreateObject('form')
   ox.Show()
   ox.Circle(50, 100, 100, -2)
				

Modification Type:MajorLast Reviewed:12/11/1999
Keywords:KB189865