dqt ~master (2021-12-05T11:53:08Z)
Dub
Repo
QTextLine.cursorToX
qt
gui
textlayout
QTextLine
Undocumented in source. Be warned that the author may not have intended to support it.
qreal
cursorToX
(int* cursorPos, Edge edge)
qreal
cursorToX
(int cursorPos, Edge edge)
struct
QTextLine
pragma(
inline
, true) const
qreal
cursorToX
(
int
cursorPos
,
Edge
edge
=
Edge.Leading
)
Meta
Source
See Implementation
qt
gui
textlayout
QTextLine
constructors
this
enums
CursorPosition
Edge
functions
ascent
cursorToX
descent
draw
glyphRuns
height
horizontalAdvance
isValid
leading
leadingIncluded
lineNumber
naturalTextRect
naturalTextWidth
position
rect
setLeadingIncluded
setLineWidth
setNumColumns
setPosition
textLength
textStart
width
x
xToCursor
y