MCPcopy Create free account
hub / github.com/scanny/python-pptx / Inches

Class Inches

src/pptx/util.py:58–63  ·  view source on GitHub ↗

Convenience constructor for length in inches.

Source from the content-addressed store, hash-verified

56
57
58class 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
66class Centipoints(Length):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…