예제 #1
0
파일: bezier.go 프로젝트: yuer1727/gospace
func drawCurve(dc *gg.Context) {
	dc.SetRGBA(0, 0, 0, 0.1)
	dc.FillPreserve()
	dc.SetRGB(0, 0, 0)
	dc.SetLineWidth(12)
	dc.Stroke()
}
예제 #2
0
func drawStartPoint(dc *gg.Context) {
	dc.SetRGBA(0, 1, 0, 1)
	dc.SetLineWidth(20)
	dc.Stroke()
}
예제 #3
0
func drawPoints(dc *gg.Context) {
	dc.SetRGBA(1, 0, 0, 1)
	dc.SetLineWidth(2)
	dc.Stroke()
}