GUIStyle.GetCursorPixelPosition

function GetCursorPixelPosition (position : Rect, content : GUIContent, cursorStringIndex : int) : Vector2

Description

Get the pixel position of a given string index.