System.Windows.Forms.BitmapLabel.GetCursor C# (CSharp) Method

GetCursor() private method

private GetCursor ( ) : float
return float
        private float GetCursor()
        {
            float cursor = 0;
            for (int i = 0; i < Text.Length; i++)
            {
                if (_font.textureList.ContainsKey(Text[i]) == false) continue;
                var textC = _font.textureList[Text[i]];
                if (textC == null) continue;

                float _scale = _charSettings[i].Scale;

                float cOY = textC.OffsetY * _scale;
                float cH = textC.Texture.Height * _scale;
                float cBp = cH - cOY;

                if (cOY > cursor)
                    cursor = cOY;
            }
            return cursor;
        }