Documentation ¶
Index ¶
- Variables
- type Frame
- func (f Frame) DrawCircle(x0, y0, r int, color color.Color)
- func (f Frame) DrawLine(x0, y0, x1, y1 int, color color.Color)
- func (f Frame) DrawRectangle(x0, y0, x1, y1 int, color color.Color)
- func (f Frame) DrawTriangle(x1, y1, x2, y2, x3, y3 int, color color.Color)
- func (f Frame) Fill(color color.Color)
- func (f Frame) FillCircle(x0, y0, r int, color color.Color)
- func (f Frame) FillRectangle(x0, y0, x1, y1 int, color color.Color)
- func (f Frame) FillTriangle(ax, ay, bx, by, cx, cy int, color color.Color)
- func (f *Frame) Resize(newWidth, newHeight int)
- func (f *Frame) UpdateGetPixelMethod(get getPixel)
- func (f *Frame) UpdateSetPixelMethod(set setPixel)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct { SetPixel setPixel GetPixel getPixel BlendPixel blendPixel // contains filtered or unexported fields }
func (Frame) DrawTriangle ¶
func (Frame) FillTriangle ¶
func (*Frame) UpdateGetPixelMethod ¶
func (f *Frame) UpdateGetPixelMethod(get getPixel)
func (*Frame) UpdateSetPixelMethod ¶
func (f *Frame) UpdateSetPixelMethod(set setPixel)
Click to show internal directories.
Click to hide internal directories.