Documentation ¶
Index ¶
- func DrawCompositePoints(inpVec [][]types.Vector2d, col [4]byte) (*image.RGBA, error)
- func DrawFillCompositePoints(inpVec [][]types.Vector2d, col [4]byte) (*image.RGBA, error)
- func DrawFillCompositeShape(shape types.RenderableComposite, col [4]byte) (*image.RGBA, error)
- func DrawPoints(inp []types.Vector2d, col [4]byte) *image.RGBA
- func FillShape(img *image.RGBA, col [4]byte)
- func ScanLineFill(img *image.RGBA, startX int, endX int, y int, col [4]byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawCompositePoints ¶
DrawCompositePoints takes a composite shape and draws it.
func DrawFillCompositePoints ¶
DrawFillCompositePoints takes a composite and draws a filled one
func DrawFillCompositeShape ¶
DrawFillCompositeShape takes a renderable shape and draws a filled version
func DrawPoints ¶
DrawPoints draws the points provided as an image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.