We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc59820 commit 9b7cafcCopy full SHA for 9b7cafc
vg/vggio/vg.go
@@ -26,11 +26,9 @@ type Canvas struct {
26
gtx layout.Context
27
}
28
29
-const (
30
- // DefaultDPI is the default dot resolution for image
31
- // drawing in dots per inch.
32
- DefaultDPI = 96
33
-)
+// DefaultDPI is the default dot resolution for image
+// drawing in dots per inch.
+const DefaultDPI = 96
34
35
// New returns a new image canvas with the provided dimensions and options.
36
// The currently accepted options are UseDPI and UseBackgroundColor.
0 commit comments