Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tfriedel6 committed Mar 21, 2020
1 parent b39fdd0 commit 1b94cf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions path2d.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b94cf0

Please sign in to comment.