Skip to content

Commit

Permalink
ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
sbinet committed Jun 19, 2020
1 parent fc59820 commit 9b7cafc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions vg/vggio/vg.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ type Canvas struct {
gtx layout.Context
}

const (
// DefaultDPI is the default dot resolution for image
// drawing in dots per inch.
DefaultDPI = 96
)
// DefaultDPI is the default dot resolution for image
// drawing in dots per inch.
const DefaultDPI = 96

// New returns a new image canvas with the provided dimensions and options.
// The currently accepted options are UseDPI and UseBackgroundColor.
Expand Down

0 comments on commit 9b7cafc

Please sign in to comment.