Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
def
pt2mm(pt: float) -> float:
50
return
pt * 0.352777778
51
52
53
def
_set_attributes(element, **attributes):
Callers
4
calculate_size
Method · 0.85
render
Method · 0.85
_create_text
Method · 0.85
_paint_text
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected