diff options
author | Kurt Jung <kurt.w.jung@gmail.com> | 2015-09-02 16:00:39 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2015-09-02 16:00:39 -0400 |
commit | a209e47c10a61994e3d222a192bdef584e2df108 (patch) | |
tree | ce9b340f7c8d3ae63d96021d0d5631d3493c067d /fpdf.go | |
parent | 706d7cc75e1f533b761a62d22cb2fc06d09c2de9 (diff) | |
parent | bb0b7372a6e097a5a0efcbb7ca6cf6177813989e (diff) |
Merge branch 'jelmersnoeck-barcode-package'
Diffstat (limited to 'fpdf.go')
-rw-r--r-- | fpdf.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2365,6 +2365,12 @@ func (f *Fpdf) GetImageInfo(imageStr string) (info *ImageInfoType) { return f.images[imageStr] } +// GetConversionRatio returns the conversion ratio based on the unit given when +// creating the PDF. +func (f *Fpdf) GetConversionRatio() float64 { + return f.k +} + // GetXY returns the abscissa and ordinate of the current position. // // Note: the value returned for the abscissa will be affected by the current |