fix golint for gc.go
This commit is contained in:
parent
8c8e0b1760
commit
dbf591ab97
1 changed files with 4 additions and 0 deletions
4
gc.go
4
gc.go
|
@ -8,13 +8,17 @@ import (
|
||||||
"image/color"
|
"image/color"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// FillRule defines the type for fill rules
|
||||||
type FillRule int
|
type FillRule int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// FillRuleEvenOdd defines the even odd filling rule
|
||||||
FillRuleEvenOdd FillRule = iota
|
FillRuleEvenOdd FillRule = iota
|
||||||
|
// FillRuleWinding defines the non zero winding rule
|
||||||
FillRuleWinding
|
FillRuleWinding
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// GraphicContext describes the interface for the various backends (images, pdf, opengl, ...)
|
||||||
type GraphicContext interface {
|
type GraphicContext interface {
|
||||||
Path
|
Path
|
||||||
// Create a new path
|
// Create a new path
|
||||||
|
|
Loading…
Reference in a new issue