Convenience constructor for length in inches.
| 56 | |
| 57 | |
| 58 | class Inches(Length): |
| 59 | """Convenience constructor for length in inches.""" |
| 60 | |
| 61 | def __new__(cls, inches: float): |
| 62 | emu = int(inches * Length._EMUS_PER_INCH) |
| 63 | return Length.__new__(cls, emu) |
| 64 | |
| 65 | |
| 66 | class Centipoints(Length): |
no outgoing calls
searching dependent graphs…