MCPcopy Index your code
hub / github.com/WhyNotHugo/python-barcode / pt2mm

Function pt2mm

barcode/writer.py:49–50  ·  view source on GitHub ↗
(pt: float)

Source from the content-addressed store, hash-verified

47
48
49def pt2mm(pt: float) -> float:
50 return pt * 0.352777778
51
52
53def _set_attributes(element, **attributes):

Callers 4

calculate_sizeMethod · 0.85
renderMethod · 0.85
_create_textMethod · 0.85
_paint_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected