~/forever/addon-api
Addon API
CalculateScreenAreaFromCharacterSpan(leftIndex, rightIndex) : areasCanNonSpaceWrap() : wrapCanWordWrap() : wrapClearText()FindCharacterIndexAtCoordinate(x, y) : characterIndex, insideGetAlphaGradient() : start, lengthGetFieldSize() : fieldSizeGetFontHeight(calculated) : heightGetLineHeight() : lineHeightGetMaxLines() : maxLinesGetNumLines() : numLinesGetScaleAnimationMode() : scaleAnimationModeGetSmoothScaling() : smoothScalingGetStringHeight() : heightGetStringWidth() : widthGetText() : textGetTextScale() : textScaleGetUnboundedStringWidth() : widthGetUnboundedStringWidthForText(text) : widthGetWrappedWidth() : widthIsTruncated() : isTruncatedOnColorsUpdated()SetDesaturateEmbeddedTextures(desaturate)SetFixedColor(fixedColor)SetFontHeight(height)SetFormattedText(text)SetMaxLines(maxLines)SetNonSpaceWrap(wrap)SetScaleAnimationMode(scaleAnimationMode)SetSmoothScaling(smoothScaling)SetTextHeight(height)SetTextScale(textScale)SetTextToFit(text)SetWordWrap(wrap)Documented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.