Documentation
¶
Index ¶
- type Context
- func (c *Context) Background() color.RGBA
- func (c *Context) Circle(xm, ym, r int)
- func (c *Context) Clear()
- func (c *Context) Line(x0, y0, x1, y1 int)
- func (c *Context) Line3(x0, y0, z0, x1, y1, z1 float64)
- func (c *Context) Line3p(p0, p1 f64.Vec3)
- func (c *Context) LineWidth() float64
- func (c *Context) Matrix() f64.Mat4
- func (c *Context) NoStroke()
- func (c *Context) Point(x, y int)
- func (c *Context) Point3(x, y, z float64)
- func (c *Context) PopMatrix() f64.Mat4
- func (c *Context) PopStyle() Style
- func (c *Context) PushMatrix(m f64.Mat4)
- func (c *Context) PushStyle(s Style)
- func (c *Context) Restore()
- func (c *Context) Save()
- func (c *Context) SetBackground(col color.RGBA)
- func (c *Context) SetFill(col color.RGBA)
- func (c *Context) SetLineWidth(lw float64)
- func (c *Context) SetMatrix(m f64.Mat4)
- func (c *Context) SetPointSize(sz float64)
- func (c *Context) SetStroke(col color.RGBA)
- func (c *Context) SetStyle(s Style)
- func (c *Context) Style() Style
- func (c *Context) TransformMatrix(m *f64.Mat4)
- type Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) Background ¶
func (*Context) PushMatrix ¶
func (*Context) SetBackground ¶
func (*Context) SetLineWidth ¶
func (*Context) SetPointSize ¶
func (*Context) TransformMatrix ¶
Click to show internal directories.
Click to hide internal directories.