Lines Matching refs:Paint
101 func (c *Canvas) DrawPaint(paint *Paint) {
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) {
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) {
115 func (c *Canvas) DrawPath(path *Path, paint *Paint) {
123 type Paint struct { struct
127 func NewPaint() *Paint {
128 ret := &Paint{ptr: C.sk_paint_new()}
129 runtime.SetFinalizer(ret, func(p *Paint) {
135 func (p *Paint) SetColor(color Color) { argument
139 func (p *Paint) SetAntiAlias(antiAlias bool) { argument
143 func (p *Paint) SetStroke(val bool) { argument
147 func (p *Paint) SetStrokeWidth(width float32) { argument