The OpenD Programming Language

bndIconLabelTextPosition

Calculate the corresponding text position for given coordinates px/py in an iconLabel. See bndIconLabelCaret for more info.

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

Meta