Function: transient--string-pixel-width
transient--string-pixel-width is a function alias for
string-pixel-width, defined in subr-x.el.gz.
Signature
(transient--string-pixel-width STRING &optional BUFFER)
Documentation
Return the width of STRING in pixels.
If BUFFER is non-nil, use the face remappings, alternative and default properties from that buffer when determining the width. If you call this function to measure pixel width of a string with embedded newlines, it returns the width of the widest substring that does not include newlines.