Home > How-To Library > Graphics

How to draw AngleArc

**************************************************************** * © 2007 CodeItBetter http://www.codeitbetter.com * * This notice MUST stay intact for legal use * ****************************************************************
Option Explicit Private Declare Function AngleArc Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, _ ByVal y As Long, ByVal dwRadius As Long, ByVal eStartAngle As Single, _ ByVal eSweepAngle As Single) As Long Private Sub Form_Load() AutoRedraw = True ScaleMode = vbPixels Line (100, 10)-(50, 10) AngleArc hdc, 50, 50, 40, 90, 180 End Sub

If you would like to submit your code here please us. Do not forget to mention your name. We are always thankful to each and everyone of you who submitted their code here.