コード例 #1
0
ファイル: canvas.go プロジェクト: phacops/canvas
// Sets the type of the line cap on the current drawing surface.
func (self *Canvas) SetStrokeLineCap(value uint) {
	C.DrawSetStrokeLineCap(self.drawing, C.LineCap(value))
}
コード例 #2
0
ファイル: canvas.go プロジェクト: mishudark/gosexy
// Sets the type of the line cap on the current drawing surface.
func (cv Canvas) SetStrokeLineCap(value uint) {
	C.DrawSetStrokeLineCap(cv.drawing, C.LineCap(value))
}
コード例 #3
0
ファイル: drawing_wand.go プロジェクト: qwo/abelana-gcp
// Specifies the shape to be used at the end of open subpaths when they are
// stroked.
func (dw *DrawingWand) SetStrokeLineCap(lineCap LineCap) {
	C.DrawSetStrokeLineCap(dw.dw, C.LineCap(lineCap))
}