The OpenD Programming Language

bndTextFieldTextPosition

Calculate the corresponding text position for given coordinates px/py in a text field. See bndTextField for more info.

nothrow @trusted @nogc
int
bndTextFieldTextPosition
(
T = char
)
(,
float x
,
float y
,
float w
,
float h
,
int iconid
,
const(T)[] text
,
int px
,
int py
)
if (
isAnyCharType!T
)

Meta