diff options
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 |