added comments
This commit is contained in:
parent
b39fdd0a48
commit
1b94cf0703
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,8 @@ import (
|
|||
"github.com/tfriedel6/canvas/backend/backendbase"
|
||||
)
|
||||
|
||||
// Image is a type holding information on an image loaded with the LoadImage
|
||||
// function
|
||||
type Image struct {
|
||||
src interface{}
|
||||
cv *Canvas
|
||||
|
|
|
@ -4,6 +4,8 @@ import (
|
|||
"math"
|
||||
)
|
||||
|
||||
// Path2D is a type that holds a predefined path which can be drawn
|
||||
// with a single call
|
||||
type Path2D struct {
|
||||
cv *Canvas
|
||||
p []pathPoint
|
||||
|
|
Loading…
Reference in a new issue