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