diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-26 06:03:43 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-26 06:03:43 -0400 |
commit | 7e2d632b0ad09a8320bd7b57b69b39cf08e03576 (patch) | |
tree | 3022d3d07bab258307e24d831e51252d99342c79 | |
parent | ecf65dac9ed0a7648b02b2ae037e14cfce0919dd (diff) |
Clarification to InitType documentation.
-rw-r--r-- | def.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -70,8 +70,8 @@ type fontFileType struct { type linkType struct { x, y, wd, ht float64 - link int // Auto-generated link ID or... - linkStr string // ...application-provided link string + link int // Auto-generated internal link ID or... + linkStr string // ...application-provided external link string } type intLinkType struct { @@ -82,7 +82,8 @@ type intLinkType struct { // InitType is used with NewCustom() to customize an Fpdf instance. // OrientationStr, UnitStr, SizeStr and FontDirStr correspond to the arguments // accepted by New(). If the Wd and Ht fields of Size are each greater than -// zero, Size will be used to set the default page size rather than SizeStr. +// zero, Size will be used to set the default page size rather than SizeStr. Wd +// and Ht are specified in the units of measure indicated by UnitStr. type InitType struct { OrientationStr string UnitStr string |