📄 pset.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 7815
ClientLeft = 3270
ClientTop = 1140
ClientWidth = 9105
DrawWidth = 8
LinkTopic = "Form1"
ScaleHeight = 7815
ScaleWidth = 9105
Begin VB.PictureBox Picture1
DrawWidth = 4
Height = 5655
Left = 600
ScaleHeight = 5595
ScaleWidth = 7875
TabIndex = 1
Top = 600
Width = 7935
End
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 615
Left = 3240
TabIndex = 0
Top = 6600
Width = 2775
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Picture1.Scale (-1, 1)-(1, -1)
For t = 0 To 2 * 3.1415926 Step 0.001
x = Sin(2 * t) * Cos(t)
y = Sin(2 * t) * Sin(t)
Picture1.PSet (x, y), QBColor(2)
Next t
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -