size zahmet birde şu kodlara bakabilirmisiniz
Private Sub cmdDrawEllipse_Click()
Dim X As Long, Y As Long
Dim ElipseWidth As Integer, ElipseHeight As Integer
X = 2000
Y = 1000
ElipseWidth = 1200
ElipseHeight = 600
Circle (X, Y), ElipseWidth, , , , ElipseHeight / ElipseWidth
End Sub
ve
Public Sub DrawEllipse((LeftX As Long, TopY As Long), radius As
Long,,,,aspect As Long))
Dim hNewPen As Long
Dim hOldPen As Long
Dim hNewBrush As Long
Dim hOldBrush As Long
hNewPen = apiCreatePen(PS_SOLID, m_DrawWidth, m_ForeColor)
If TempFillColor <0 Then
hNewBrush = apiCreateSolidBrush(TempFillColor)
Else
' Use FillColor Prop
hNewBrush = apiCreateSolidBrush(m_FillColor)
End If
hOldPen = SelectObject(m_hDC, hNewPen)
hOldBrush = SelectObject(m_hDC, hNewBrush)
apiEllipse m_hDC, LeftX, TopY, LeftX + diameter, TopY + diameter
Call SelectObject(m_hDC, hOldPen)
Call DeleteObject(hNewPen)
Call SelectObject(m_hDC, hOldBrush)
Call DeleteObject(hNewBrush)
Me.DIBtoPictureData
End Sub
ben bunları bir örneğe eklemeye çalıştım olmadı
bunları nasıl çalışır hale getirebiliriz
@benbendedeilem
Cevapla
Son Düzenleme: 06/02/2010, 12:27, Düzenleyen: accessman.