コード例 #1
0
ファイル: recorder.go プロジェクト: skiesel/plot
// Fill implements the Fill method of the vg.Canvas interface.
func (c *Canvas) Fill(path vg.Path) {
	c.append(&Fill{Path: append(vg.Path(nil), path...)})
}
コード例 #2
0
ファイル: recorder.go プロジェクト: skiesel/plot
// Stroke implements the Stroke method of the vg.Canvas interface.
func (c *Canvas) Stroke(path vg.Path) {
	c.append(&Stroke{Path: append(vg.Path(nil), path...)})
}