(value int, scale float64)
| 524 | } |
| 525 | |
| 526 | func scaleInt(value int, scale float64) int { |
| 527 | return int(math.Round(float64(value) * scale)) |
| 528 | } |
| 529 | |
| 530 | // MarginsFrom96DPI converts from 1/96" units to native pixels. |
| 531 | func MarginsFrom96DPI(value Margins, dpi int) Margins { |
no outgoing calls
no test coverage detected
searching dependent graphs…