diff options
author | Kurt <kurt.w.jung@gmail.com> | 2019-07-20 09:53:13 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2019-07-20 09:53:13 -0400 |
commit | 5a3837eac46daca22df96b6b65a184cafef7e03e (patch) | |
tree | 4927ba946becdcddc4e28b5008aa2fe6843e71ff | |
parent | 1ad94066897276b1a2a34d099c42a7205c421903 (diff) |
Wrap some comments
-rw-r--r-- | fpdf.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3187,12 +3187,14 @@ func (f *Fpdf) putImportedTemplates() { } } -// UseImportedTemplate uses imported template from gofpdi - draws imported PDF page onto page +// UseImportedTemplate uses imported template from gofpdi. It draws imported +// PDF page onto page. func (f *Fpdf) UseImportedTemplate(tplName string, scaleX float64, scaleY float64, tX float64, tY float64) { f.outf("q 0 J 1 w 0 j 0 G 0 g q %.4F 0 0 %.4F %.4F %.4F cm %s Do Q Q\n", scaleX*f.k, scaleY*f.k, tX*f.k, (tY+f.h)*f.k, tplName) } -// ImportTemplates imports gofpdi template names into importedTplObjs - to be included in the procset dictionary +// ImportTemplates imports gofpdi template names into importedTplObjs for +// inclusion in the procset dictionary func (f *Fpdf) ImportTemplates(tpls map[string]string) { for tplName, tplID := range tpls { f.importedTplObjs[tplName] = tplID |